Re: [mevenide-user] Executing without Jar
"Milos Kleint" <[email protected]> Tue, 29 Jan 2008 10:28:51 +0100
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
well, you can definitely override that and change all the Run and Debug actions to run on top of classpath only. exec:java will work for Run, but for Debugging you need either exec:exec or execute the goals with external maven instance (as the exec:java starts the app in the same JVM as the the maven build, thus in the IDE's JVM in case you are runnign with the default embedded maven) the netbeans-run-plugin and the associated profiles that get created in the pom is something I hacked together to get these features: 1. get separate console output for the user application 2. have a sort of setup that can be takes "as-is" and executed without the ide and without maven. That was a copy of what the default j2se project in netbeans was doing at that time 3. if I recall correctly the exec-maven-plugin was not stable and/or didn't support embedded use correctly when I needed it.. I guess it's time for re-evaluation but there's always more tasks than time.. What were the problems you encountered with the replacement of Run action in the IDE? You might need to write some config to pom, edit the bindings in the Actions panel in the project properties dialog (and never ever touch the Run panel there). Afterwards it should work. if not it's a bug I suppose. Milos On Jan 29, 2008 1:09 AM, Putrycz, Erik <[email protected]> wrote: > > > > > I have a large multimodule project with many dependencies. Currently with > netbeans, to run a class, it requires a long process to build a jar… > > Why is the execution using jars?? Just wondering about the design of the > plugin… Wouldn't it have been easier to simply execute using the classpath? > I have been trying to execute the project inside netbeans with the exec > plugin, but netbeans seems to really want the netbeans-run plugin. > > Any suggestions for running a project without the netbeans-run? > > > > Thanks > > > > Erik Putrycz, Ph.D - Research Associate > > Institute for Information Technology - Software Engineering Group > > National Research Council, Canada - Building M-50, 1200 Montreal Road > > Ottawa, Ontario, CANADA K1A 0R6 > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email