Why i can't change the version of the project faclet? - maven

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.

Related

Is there a way to create a TFS/VSTS label whenever a project is published?

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

change packages icon in intellij idea

I used a plugin or theme or some thing like that in intellij idea and it make my packages even files icon in project different . Unfortunately i changed my intellij version and it gone
entities and services and controllers packages also shown differently.
if you used it can you help me to add this extensions?
Try using plugin's search for Theme and User Interface tags to search for the UI Theme plugin.
FILE >> SETTINGS >> Plugins >> install Atom Material Icons
Warning: this changes Ide icons too

Joomla! 3.0: core module edition not working

I'm trying to edit the default core module named mod_weblinks to change how the list of weblinks within a category is shown.
The problem comes when I change the default.php file in modules/mod_weblinks/tmpl/ and I get no results when hit f5.
I also tried to copy and odify this file in template/my_template/html/mod_weblinks/ but same result.
I uninstalled and installed this module from joomla! control admin panel.
Any suggestion?
TIA
Ok, I found it, the problem is that I was modifying a module but using a component so I have change the code of the component (which is a bit more complex)

Is it possible to change the location of the default theme folder in VAADIN?

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

Internationalization of an Eclipse RCP 3.8 app: JFace dialog values not loaded

I want to translate an Eclipse RCP application based on Juno 3.8. For the Eclipse platform I downloaded the respective Babel language pack for German: BabelLanguagePack-eclipse-de_4.2.0.v20121120043402.zip.
Everything seems to work fine except for the buttons in the JFace dialogs: Cancel, Next etc. are not translated. The respective fragment (org.eclipse.jface.nl_de_4.2.0.v20121120043402.jar) which contains the translations is loaded correctly (I can see it in the plugin details) but the German values are not shown.
The bundle you have specified is for the version 4.2 (but you are using 3.8). This may be the problem.

Resources