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.
Related
IS there a simple method or extension to create TFS/VSTS labels whenever a web application project is successfully published?
I've looked into creating a task step to execute the TF command after publishing, but it seems a clumsy way to do it when VS2019 already has methods to add labels.
I am afraid there is not a simple method or extension that can do this in VS2019.
But you can try publishing your web application in the pipeline, which you can configure to label your sources automatically after publishing the application.
See below screenshot:
On the Edit page of the pipeline-->go to Get sources section-->select On success/Always to Label sources-->Specify a Label format
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.
In my Spring MVC App I am using some Font Awesome icons. They work fine, when I test the application locally.
But when I deploy the war file to a linux server, the icons are not shown.
I checked the page, and in my opinion all resources are found.
Do you have an idea?
found out, that there was an error in the pom.xml. The resources were missing in the war file.
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).
I'm currently using vaadin 6 with OSGi.
I'd like to create a new theme, but since I'm using OSGi I can't add one under the VAADIN/theme folder since I don't have access to it.
I want to tell vaadin to look for my theme using another URL in my HTTP namespace.
Can I achieve this? The setTheme() method accepts only strings and I couldn't find anywhere if it's possible to register another default folder for themes.
Thanks
You can do this by creating your theme in a fragment Bundle and then attach it to the Vaadin bundle. This will practically merge/append the resources to the host bundle.
So you provide:
VAADIN/themes/mytheme/
in your fragment bundle and create the manifest with the
Fragment-Host
set to
Vaadin 6: com.vaadin;bundle-version="${vaadin.version}"
Vaadin 7: com.vaadin.client-compiled;bundle-version="${vaadin.version}"
No, unfortunally this is not possible.
From here : https://vaadin.com/de/book/vaadin6/-/page/themes.creating.html
Custom themes are placed in VAADIN/themes folder of the web application (in the WebContent directory) as illustrated in Figure 8.1, “Contents of a Theme”. This location is fixed. You need to have a theme folder for each theme you use in your application, although applications rarely need more than a single theme. For example, if you want to define a theme with the name mytheme, you will place it in folder VAADIN/themes/mytheme.
You might also try pax for vaadin, it's not released yet and I'm laking some time to work on it more, but it should work for your use case. It tries to find vaadin applications and themes in your bundles.
https://ops4j1.jira.com/wiki/display/PAXVAADIN/Home