[
https://issues.jboss.org/browse/JBIDE-16334?page=com.atlassian.jira.plugi...
]
Fred Bricon commented on JBIDE-16334:
-------------------------------------
From what I see in the current
com.google.gdt.eclipse.maven.e37_3.4.2.v201310081834-rel-r43.jar, src/main/webapp is
hardcoded when calling WebAppProjectProperties.setWarSrcDir.
In their latest code (not currently public), they compute the directory from the
<warSourceDirectory> value from org.codehaus.mojo:gwt-maven-plugin configuration.
I don't know if/when current GPE dev builds will be available.
Worst case scenario, we backport their fix to our own gwt configurator.
GWT WAR directory is not set properly in Eclipse Google (GWT)
plug-in
---------------------------------------------------------------------
Key: JBIDE-16334
URL:
https://issues.jboss.org/browse/JBIDE-16334
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 4.1.0.Final
Environment: Eclipse Kepler
m2e 1.2
m2e-wtp 1.0.1
Google Plugin for Eclipse 3.4.2
JBoss Maven GWT Configurator 1.5.4
Reporter: Slawa Giterman
Assignee: Denis Golovin
Hello,
I use Eclipse Kepler, m2e 1.2, m2e-wtp 1.0.1, Google Plugin for Eclipse 3.4.2 and JBoss
Maven GWT Configurator 1.5.4.
My project uses not default warSourceDirectory in Maven pom.xml
(<warSourceDirectory>$\{basedir\}/WebContent</warSourceDirectory>).
The problem is that after each Maven -> Update Project action, GWT WAR directory in
Eclipse (Project -> context menu -> Google -> Web Toolkit Settings -> Web
Application -> WAR directory) is set to default Maven value "src/main/webapp"
and not to the value of warSourceDirectory from pom.xml.
It seems that WAR Directory value is read from file
<ECLIPSE_PROJECT>/.settings/com.google.gdt.eclipse.core.prefs, property *warSrcDir*.
This file has also another property, *lastWarOutDir* which tells Google GWT Plugin where
to compile the GWT code (this issue was solved in JBIDE-11224)
Current content of com.google.gdt.eclipse.core.prefs after Maven -> Update Project:
{code}lastWarOutDir=/applicationserver/WebContent
warSrcDir=src/main/webapp{code}
So, the question is, is it possible to set value of warSrcDir to the same value as
lastWarOutDir so that Eclipse does not show error "WAR source directory
/applicationserver/src/main/webapp is missing" after each update?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira