I would like to use Acceleo to tranform Owl files to java classes.
However I do not see the uri for the Owl metamodel in Acceleo.
How does one add a new metamodel template specification to Acceleo?
Thanks
Are you sure Eclipse is currently loading the plugin containing the Owl metamodel? in the About Eclipse window there should be an 'installation details' button. Click that and then click on the 'plugins' tab. Check there if the plugin you need is loaded. If so you should see the meta-model (double check the uri you are typing).
Related
Im trying to customize the liferay 7.4 ckeditor toolbar adding the accesibility checker plugin (ay11cheker).
I found the following information to do that but its not working for me
https://liferay.dev/blogs/-/blogs/add-custom-plugin-to-ckeditor-toolbar-
https://liferay.dev/ask/questions/portal/re-configure-ckeditor-on-liferay-7-13
I have created the class that implements DynamicInclude including the ay11checker and balloonpanel plugins.
I have created also the class that extends BaseEditorConfigContributor to override the method 'populateConfigJSONObject' including those two plugins to extraPlugins field of the JsonObject.
Both files *.js are including because i can access them through the web inspector and i can check in the DOM that some html code are including but the icon of the ay11checker is not appearing in the ckeditor toolbar, what i missing?
I have simple project that implements the CRUD action on a local db, using both Spring and hibernate, but as soon as i add the project to the apache tomcat server (ver. 8.5.45) eclipse shows the following: "Cannot change version of project facet Dynamic Web Module to 3.1."
I tried to change the version of the facet in the project properties but i can't press the apply button.
I even tried to change the version inside the web.xml file but still haven't found a solution
Any help is appreciated.
There's a checkbox in front of the "Dynamic Web Module". You need to uncheck it first in order to be able to change the version.
I'm getting start with DSL, I have build my DSL and I have a T4 template for generate code from a design.
I can create a new element in my project of my DSL type, I can create my design and then I have to run my T4 to generate code.
But, I can see how to work the default Visual Studio Class Diagram, it don't need to run any T4. For example when you drop a class in the diagram it shows a dialog to choose the class name and file.
When I change a class (adding properties for example) by edit the file the diagram update itself the new information (properties, methods, ...). When you add a property in a class using the diagram its update the file adding the correct property ...
How to do it? I'm newbie and I would like to find documentation about it.
I am new to Eclipse and Acceleo, and I have been trying to complete the First Generator Model Tutorial. I am using Juno 4.2 and Acceleo 3.3.
Here is what I have done so far:
I created an Accelo projece with a UML Metamodel and Generate
Type Class.
I added the provided code for the generate file, and
put the [comment #main/] below the template line.
I made changes to the MANIFEST file. Under the Bundle SymbolicName, I added singleton:=true. I added the files for runtime, added all the necessary plugins and under extensions, I added the UML generate and dynamic package.
I then created a new Java Project, and then selected UML Model and made it a package. I then created a class by right clicking on the package, selecting New Child and then class.
I go to launch the generate file. I selected the uml model and the target as the src file under the new Java Project. It says it is launching it, but I can not see the generated file, or it is not actually generating it.
I would really appreciate any help or feedback. I am really stuck on this!
I'm also quite new to Acceleo, but I can give it a try:
do you have a [file] construct in your generate.mtl file? Because without it Acceleo doesn't generate any file.
This is an example of usage of the [file] in the generate.mtl file. It creates a myFile.txt file with a class name inside:
[comment encoding = UTF-8 /]
[module genAFile('http:///org/eclipse/uml.... etc ')/]
[template public genAFile(aClass : Class)]
[file ('myFile.txt', false, 'UTF-8')]
[aClass.name/]
[/file]
[/template]
Hope it helps
i have a few application context files for an application.
I want to view graphically the dependencies between them.
Is there a free plugin in eclipse or some viewer?
Thanks!
The Spring Tool Suite has an editor (Spring Config Editor) to edit the spring context xml files. This Editor can also draw a diagram of the beans (the tab "Beans Graph" of that editor -- see the image below.).
When I remember right, then this functionality is also included in the Eclipse Spring IDE Plugin.
There's also the Spring Bean Doc project, although it's a bit long-in-the-tooth. I have not used it with Spring 3, so I can't speak for its efficacy for recent versions.