HI Thanks for the reply What is the correct setting for "Execute Goals" in the maven projects properties version 3.1.2? Min is "process-classes org.codehaus.mojo:exec-maven-plugin:1.1:exec" at the moment.
Thanks Theuns Milos Kleint wrote: > > I haven't figured that out yet. working on it. putting your local > repository in "C:/r" could give you some air to breathe, but in > general it's a failure on my part that I haven't seen this coming.. > I'll have to come up with some different way of running projects I > guess.. or a workaround of sorts. > > Sorry > > Milos > > On 5/29/08, theunsgis <[EMAIL PROTECTED]> wrote: >> >> HI >> I think you are right. I created a bat file with the whole cmd string >> copied >> from NB. >> When i run it , it tries to display the command and end with "The input >> line >> is too long." >> >> I also do run it on a Win XP OS. >> Is there some way of getting arround this? >> >> Thanks >> >> >> >> >> Milos Kleint wrote: >> > >> > Hello, >> > >> > maybe related to http://jira.codehaus.org/browse/MEVENIDE-640 this >> issue? >> > >> > Milos >> > >> > On 5/29/08, theunsgis <[EMAIL PROTECTED]> wrote: >> >> >> >> HI >> >> Thanks this help. >> >> >> >> I still get the problem though , and i did upgrade to the latest >> maven >> >> 3.1.2, >> >> Can you tel me what this means : >> >> >> >> >> >> Result of cmd.exe /X /C ""C:\Program >> >> Files\Java\jdk1.6.0_05\bin\java.exe" >> >> -classpath "E:\Java Projects\Geotools Trunk >> >> 2.5\demo\example\target\classes;C:\Documents and >> >> Settings\Theuns\.m2\repository\junit\junit\4.4\junit-4.4.jar;" >> >> >> >> org.geotools.demo.widgets.StreamWidgetsDemo" >> >> >> >> Can i run tis command just like it is above in the cmd prompt? I >> >> truncated >> >> the classpath a lot in the above example. >> >> >> >> Thanks >> >> >> >> >> >> >> >> >> >> Daniele De Francesco wrote: >> >> > >> >> > Hi, >> >> > >> >> > Sorry, I just told you the cmd m2 call...not the NB, so sorry... >> >> > In order to build m2 projects on NB exists a plugin from update >> site >> >> > (Maven >> >> > 2 Integration), that allows to create m2 projects >> >> > >> >> > New--->Project---->Maven etc >> >> > >> >> > Done this you simply right-click on the project icon, click the >> >> > Custom-->Goal item fill out the form that appears and put >> >> > >> >> > goals ---> exec:exec >> >> > >> >> > and then just check the box called show debug output >> >> > >> >> > Hope this helps, >> >> > >> >> > -- >> >> > Daniele De Francesco >> >> > Senior Java Architect >> >> > Value Team Italia >> >> > >> >> > On Wed, May 28, 2008 at 5:24 PM, Daniele De Francesco < >> >> > [EMAIL PROTECTED]> wrote: >> >> > >> >> >> Hi, >> >> >> >> >> >> You must have a running maven 2 installation from the cmd, which >> >> >> generally >> >> >> means setting the env vars JAVA_HOME, M2_HOME,PATH >> >> >> >> >> >> JAVA_HOME=</path/to/your/java/inst> >> >> >> (which u should have set yet) >> >> >> >> >> >> M2_HOME=</path/to/your/m2/inst> >> >> >> PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\bin;%M2_HOME%\bin >> >> >> >> >> >> >but how do i run mvn in NB with the -e switch? >> >> >> >> >> >> simply cd in your project root dir and then >> >> >> >> >> >> mvn -e exec:exec >> >> >> >> >> >> >> >> >> BTW: have u checked plugin config?? >> >> >> >> >> >> Regards, >> >> >> >> >> >> -- >> >> >> Daniele De Francesco >> >> >> Senior Java Architect >> >> >> Value Team Italia >> >> >> >> >> >> >> >> >> >> >> >> On Tue, May 27, 2008 at 4:30 PM, theunsgis <[EMAIL PROTECTED]> >> >> wrote: >> >> >> >> >> >>> >> >> >>> >> >> >>> >> >> >>> Daniele De Francesco wrote: >> >> >>> > >> >> >>> > Hi, >> >> >>> > >> >> >>> > it looks like exec plugin could not run the app just compiled >> due >> >> to a >> >> >>> bad >> >> >>> > command line execution or maybe an incomplete or corrupted >> >> classpath >> >> >>> > problem >> >> >>> > ...why don't you try and run mvn -e exec:exec (eventually -X, >> but >> >> imho >> >> >>> > it's >> >> >>> > too much)? >> >> >>> > I would check the plugin configuration carefully either... >> >> >>> > >> >> >>> > >> >> >>> >> >> >>> HI thanks for the reply >> >> >>> >> >> >>> Sorry to ask , i am new to Maven >> >> >>> How do i run mvn -e exec:exec out of Netbeans? >> >> >>> >> >> >>> If i run the class from the cmd prompt in windows it does run >> fine , >> >> it >> >> >>> is >> >> >>> just in NB it does not want to run. >> >> >>> In the maven project in NB there is a few example classes with >> main >> >> >>> methods >> >> >>> , if you load the maven project and run it , it first ask you , >> to >> >> >>> select >> >> >>> the main class to run , then after that it gives the errors in >> the >> >> >>> output. >> >> >>> >> >> >>> But if i can run maven with the -e switch out of NB , maybei can >> see >> >> >>> something , but how do i run mvn in NB with the -e switch? >> >> >>> >> >> >>> Thanks >> >> >>> Theuns >> >> >>> >> >> >>> >> >> >>> -- >> >> >>> View this message in context: >> >> >>> http://www.nabble.com/Maven-in-Netbeans-tp17489257p17491781.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] >> >> >>> >> >> >>> >> >> >> >> >> > >> >> > >> >> >> >> >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/Maven-in-Netbeans-tp17489257p17528850.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] >> >> >> >> >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> >> View this message in context: >> http://www.nabble.com/Maven-in-Netbeans-tp17489257p17529056.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] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Maven-in-Netbeans-tp17489257p17529258.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]