Hi, I've looked at the site numerous times trying to dicern how to include the plugins into the web app pom.xml so it would just be one step as I thought that is how it would work. So you're saying that I need to first build the webstart application by specifying an alternative pom.xml file:
mvn -f webstart-pom.xml clean install The problem with that is that it doesn't find the main class and when I specify the dependency, which is the web application as it has all the domain classes, managers, and GUI itself it is not built yet cause I need to have the webstart application inside the war. Is this a 2-step process to build webstart applications? Walter Geoffrey De Smet wrote: > > Normally you got a my-gui pom.xml which uses the webstart plugin and > assembly to build a zip which contains the jnlp and all GUI jars. > Then you use the dependency plugin in my-web pom.xml to unpack that gui > webstart zip into the target/webapp dir. > Take a look at the webstart plugin website, it explains it too. > > With kind regards, > Geoffrey De Smet > > walterw schreef: >> Hi all, >> >> I am having issues setting up webstart inside my maven 2 war project. >> The >> issue I get is the mainClass is not found. I specify my main class which >> does exist inside the web application, >> com.walterjwhite.gui.AdministrationForm. >> >> Will this plugin work inside a war/web application project? How should I >> setup my pom.xml to model this? >> >> >> Thanks, >> Walter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/webstart-question-tp16302197s177p16396023.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
