Running DevMode with Netbeans IDE
---------------------------------
Key: MGWT-197
URL: http://jira.codehaus.org/browse/MGWT-197
Project: Maven 2.x GWT Plugin
Issue Type: Improvement
Affects Versions: 1.2, 1.3
Environment: Netbeans IDE
Reporter: Sikiru Braheem
Priority: Minor
I use Netbeans IDE and still have issues running DevMode. This has to do with
copying 'warSrcDirectory' files into 'hostedWebapp' directory. The RunMojo is
tied to the 'compile' phase which does not copy the required files. This
becomes a major issue if 'hostedWebapp' is changed to Maven's build directory
that gets deleted on 'mvn clean', as the files will need to be copied over
again.
My current workaround is to have the following lines in
RunMojo.setupExplodedWar()
try {
// copy WAR source files ...
FileUtils.copyDirectoryStructure(warSourceDirectory, hostedWebapp);
} catch (IOException ex) {
getLog().warn("Failed to copy WAR sources: " + ex.getMessage());
}
Since I use Netbeans, I can't say if this is compatible with GPE
Regards.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email