GSON with Maven in NetBeans

2019-03-15 Thread Александр Тарасов
My question.
I loaded The gson library only as a folder, not a jar file.
However, NetBeans requires that you install this library as files 
*  gson-2.8.0.jar(classpath)
*  gson-2.8.0-sources.jar
*  gson-2.8.0-javadoc.jar.

How can I use Maven to convert folders to files?


-- 
Александр Тарасов (Aleks Tarasov)

Re: Maven in Netbeans

2008-05-29 Thread theunsgis

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---ProjectMaven 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]



Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
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---ProjectMaven 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]



Re: Maven in Netbeans

2008-05-29 Thread theunsgis

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---ProjectMaven 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]



Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
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---ProjectMaven 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

Re: Maven in Netbeans

2008-05-29 Thread theunsgis

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---ProjectMaven 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

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
that's it, that's the default AFAIK. however obviously it doens't work 
in some scenarios.


Milos

theunsgis wrote:

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---ProjectMaven 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

Re: Maven in Netbeans

2008-05-29 Thread theunsgis

HOw do i move the local repository to c:\  ?



mkleint-3 wrote:
 
 that's it, that's the default AFAIK. however obviously it doens't work 
 in some scenarios.
 
 Milos
 
 theunsgis wrote:
 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---ProjectMaven 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

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
   ,
   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]
  
  
  
  
  
  
  
  
   -
   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-tp17489257p17529371.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]



Re: Maven in Netbeans

2008-05-29 Thread Daniele De Francesco
Hi,

I experienced a similar problem while running on win2003 server edition,
because the classpath made the command line exceeded 2000 characters which
is the limit in that OS cmdXP AFAIK should not have the same problem
because it's cmd limit is 8000 char long...anyway workaround suggested is
shorten the classpath by repackaging jars and/or replacing the jar in a
smarter place in your disk...or something like this.

Anyway, post your exec plugin conf...you never know...

Hope this helps...



On Thu, May 29, 2008 at 9:18 AM, 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

 --
 Daniele De Francesco
 Senior Java Architect
 Value Team Italia


 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---ProjectMaven 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

Re: Maven in Netbeans

2008-05-29 Thread Milos Kleint
 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]
  
  
  
  
  
  
  
  
   -
   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-tp17489257p17529371.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-tp17489257p17532428.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]



Re: Maven in Netbeans

2008-05-29 Thread theunsgis
   , 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]
  
  
  
  
  
  
  
  
   -
   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-tp17489257p17529371.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-tp17489257p17532428.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]



Re: Maven in Netbeans

2008-05-28 Thread Daniele De Francesco
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]




Re: Maven in Netbeans

2008-05-28 Thread Daniele De Francesco
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---ProjectMaven 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]





Using Maven with Netbeans and GlassFish

2007-11-21 Thread Wouter van Reeven
Hi all,


Recently I have been writing some blog articles about using Maven from within
Netbeans to create enterprise applications and deploy them to GlassFish. This
article

http://technology.amis.nl/blog/?p=2489

deals with creating a default Maven enabled Netbeans enterprise application.
This one

http://technology.amis.nl/blog/?p=2495

explains how to use the exec:exec goal to deploy to GlassFish. This one,
finally,

http://technology.amis.nl/blog/?p=2610

tells how to use Hibernate for JPA and Facelets for JSF.

If you'd like to reply to me, please send me an email directly as I am not
subscribed to this mailinglist.


Thanks, Wouter van Reeven

-- 

People: If she weighs the same as a Duck, she's made of wood!
Sir Bedevere: And therefore...?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debugging Maven in Netbeans

2007-09-25 Thread Ravi Luthra
I get the same Exception when I try to set a main class in the
properties of a project. Almost all of the projects I open are not
created from the archetype, but custom edited.
Same configuration too 5.5.1 and latest Mevenide listed on the
Mevenide 2 website.

I actually upgraded from 5.5 to see if this problem would go away. It didn't..

Should I upgrade to 6.0?

Ravi

On 9/5/07, Milos Kleint [EMAIL PROTECTED] wrote:
 I've checked the stacktrace and it's not clear to me how a NPE could
 get there. Does it happen for you all the time? can you try on a
 sample quickstart project created from archetype?
 I'm personally using Nb 6.0 + mevenide 3.0.x (close to what ships on
 netbeans AU for milestone 10) and use this feature occationally. This
 code is almost the same.

 Not sure if pasting the pom snippet is enough. an assempty descriptor
 is also generated and you might be missing that one tool. Maybe I can
 send you a zipped sample project privately?

 Milos

 On 9/5/07, Demian Mrakovich [EMAIL PROTECTED] wrote:
 
  Now, that would be great  - if it worked.
 
 
  When trying this in Netbeans 5.5.1, Maven 2 project support 2.3.4:
 
  java.lang.NullPointerException
  at
  org.codehaus.mevenide.netbeans.customizer.RunJarPanel.checkAssemblyPlugin(RunJarPanel.java:337)
  at
  org.codehaus.mevenide.netbeans.customizer.RunJarPanel.applyChanges(RunJarPanel.java:274)
  at
  org.codehaus.mevenide.netbeans.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:236)
  at
  org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerformed(CustomizerDialog.java:162)
  at 
  javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
   ..
 
 
  Anyone care to share the actual XML for pom.xml?
 
 
 
  Milos Kleint wrote:
  
   that's in project's popup menu. last item on the list.. Properties..
   there in Run tab, you set the main class.
  
   Milos
  
   On 8/28/07, [EMAIL PROTECTED]
   [EMAIL PROTECTED] wrote:
   Hi,
  
   I have opened few maven project. I use NB6 Ms10 with external maven build
   enabled. The maven version I have is 2.0.7. I am able to compile( mvn
   install) the project. Now when I try to execute the same I get the
   following message.
  
   In order to run the project, Netbeans needs a custom profile in your
   pom.xml . To create and customise the profile, go to the project's
   Properties dialog and update the Run Panel.
  
   I can see profiles tag in settings.xml but nothing in pom.xml. Any help
   appretiated. I want to run the programs in debug mode to understand what
   happens.
  
  
   Thanks  Regards,
   Jayaram
  
  
  
 
  --
  View this message in context: 
  http://www.nabble.com/Debugging-Maven-in-Netbeans-tf4341676s177.html#a12495884
  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]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debugging Maven in Netbeans

2007-09-25 Thread Milos Kleint

Ravi Luthra wrote:

I get the same Exception when I try to set a main class in the
properties of a project. Almost all of the projects I open are not
created from the archetype, but custom edited.
Same configuration too 5.5.1 and latest Mevenide listed on the
Mevenide 2 website.

I actually upgraded from 5.5 to see if this problem would go away. It didn't..

Should I upgrade to 6.0?
  


yes. beta one has it fixed.

Milos

Ravi

On 9/5/07, Milos Kleint [EMAIL PROTECTED] wrote:
  

I've checked the stacktrace and it's not clear to me how a NPE could
get there. Does it happen for you all the time? can you try on a
sample quickstart project created from archetype?
I'm personally using Nb 6.0 + mevenide 3.0.x (close to what ships on
netbeans AU for milestone 10) and use this feature occationally. This
code is almost the same.

Not sure if pasting the pom snippet is enough. an assempty descriptor
is also generated and you might be missing that one tool. Maybe I can
send you a zipped sample project privately?

Milos

On 9/5/07, Demian Mrakovich [EMAIL PROTECTED] wrote:


Now, that would be great  - if it worked.


When trying this in Netbeans 5.5.1, Maven 2 project support 2.3.4:

java.lang.NullPointerException
at
org.codehaus.mevenide.netbeans.customizer.RunJarPanel.checkAssemblyPlugin(RunJarPanel.java:337)
at
org.codehaus.mevenide.netbeans.customizer.RunJarPanel.applyChanges(RunJarPanel.java:274)
at
org.codehaus.mevenide.netbeans.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:236)
at
org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerformed(CustomizerDialog.java:162)
at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
 ..


Anyone care to share the actual XML for pom.xml?



Milos Kleint wrote:
  

that's in project's popup menu. last item on the list.. Properties..
there in Run tab, you set the main class.

Milos

On 8/28/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:


Hi,

I have opened few maven project. I use NB6 Ms10 with external maven build
enabled. The maven version I have is 2.0.7. I am able to compile( mvn
install) the project. Now when I try to execute the same I get the
following message.

In order to run the project, Netbeans needs a custom profile in your
pom.xml . To create and customise the profile, go to the project's
Properties dialog and update the Run Panel.

I can see profiles tag in settings.xml but nothing in pom.xml. Any help
appretiated. I want to run the programs in debug mode to understand what
happens.


Thanks  Regards,
Jayaram

  


--
View this message in context: 
http://www.nabble.com/Debugging-Maven-in-Netbeans-tf4341676s177.html#a12495884
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]





-
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]



Re: Debugging Maven in Netbeans

2007-09-05 Thread Demian Mrakovich

Now, that would be great  - if it worked. 


When trying this in Netbeans 5.5.1, Maven 2 project support 2.3.4:

java.lang.NullPointerException
at
org.codehaus.mevenide.netbeans.customizer.RunJarPanel.checkAssemblyPlugin(RunJarPanel.java:337)
at
org.codehaus.mevenide.netbeans.customizer.RunJarPanel.applyChanges(RunJarPanel.java:274)
at
org.codehaus.mevenide.netbeans.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:236)
at
org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerformed(CustomizerDialog.java:162)
at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
 ..


Anyone care to share the actual XML for pom.xml?



Milos Kleint wrote:
 
 that's in project's popup menu. last item on the list.. Properties..
 there in Run tab, you set the main class.
 
 Milos
 
 On 8/28/07, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
 Hi,

 I have opened few maven project. I use NB6 Ms10 with external maven build
 enabled. The maven version I have is 2.0.7. I am able to compile( mvn
 install) the project. Now when I try to execute the same I get the
 following message.

 In order to run the project, Netbeans needs a custom profile in your
 pom.xml . To create and customise the profile, go to the project's
 Properties dialog and update the Run Panel.

 I can see profiles tag in settings.xml but nothing in pom.xml. Any help
 appretiated. I want to run the programs in debug mode to understand what
 happens.


 Thanks  Regards,
 Jayaram

 
 

-- 
View this message in context: 
http://www.nabble.com/Debugging-Maven-in-Netbeans-tf4341676s177.html#a12495884
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Debugging Maven in Netbeans

2007-09-05 Thread Milos Kleint
I've checked the stacktrace and it's not clear to me how a NPE could
get there. Does it happen for you all the time? can you try on a
sample quickstart project created from archetype?
I'm personally using Nb 6.0 + mevenide 3.0.x (close to what ships on
netbeans AU for milestone 10) and use this feature occationally. This
code is almost the same.

Not sure if pasting the pom snippet is enough. an assempty descriptor
is also generated and you might be missing that one tool. Maybe I can
send you a zipped sample project privately?

Milos

On 9/5/07, Demian Mrakovich [EMAIL PROTECTED] wrote:

 Now, that would be great  - if it worked.


 When trying this in Netbeans 5.5.1, Maven 2 project support 2.3.4:

 java.lang.NullPointerException
 at
 org.codehaus.mevenide.netbeans.customizer.RunJarPanel.checkAssemblyPlugin(RunJarPanel.java:337)
 at
 org.codehaus.mevenide.netbeans.customizer.RunJarPanel.applyChanges(RunJarPanel.java:274)
 at
 org.codehaus.mevenide.netbeans.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:236)
 at
 org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerformed(CustomizerDialog.java:162)
 at 
 javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
  ..


 Anyone care to share the actual XML for pom.xml?



 Milos Kleint wrote:
 
  that's in project's popup menu. last item on the list.. Properties..
  there in Run tab, you set the main class.
 
  Milos
 
  On 8/28/07, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
  Hi,
 
  I have opened few maven project. I use NB6 Ms10 with external maven build
  enabled. The maven version I have is 2.0.7. I am able to compile( mvn
  install) the project. Now when I try to execute the same I get the
  following message.
 
  In order to run the project, Netbeans needs a custom profile in your
  pom.xml . To create and customise the profile, go to the project's
  Properties dialog and update the Run Panel.
 
  I can see profiles tag in settings.xml but nothing in pom.xml. Any help
  appretiated. I want to run the programs in debug mode to understand what
  happens.
 
 
  Thanks  Regards,
  Jayaram
 
 
 

 --
 View this message in context: 
 http://www.nabble.com/Debugging-Maven-in-Netbeans-tf4341676s177.html#a12495884
 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]



Re: Debugging Maven in Netbeans

2007-08-28 Thread Milos Kleint
that's in project's popup menu. last item on the list.. Properties..
there in Run tab, you set the main class.

Milos

On 8/28/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hi,

 I have opened few maven project. I use NB6 Ms10 with external maven build
 enabled. The maven version I have is 2.0.7. I am able to compile( mvn
 install) the project. Now when I try to execute the same I get the
 following message.

 In order to run the project, Netbeans needs a custom profile in your
 pom.xml . To create and customise the profile, go to the project's
 Properties dialog and update the Run Panel.

 I can see profiles tag in settings.xml but nothing in pom.xml. Any help
 appretiated. I want to run the programs in debug mode to understand what
 happens.


 Thanks  Regards,
 Jayaram

 This communication is for informational purposes only. It is not
 intended as an offer or solicitation for the purchase or sale of
 any financial instrument or as an official confirmation of any
 transaction. All market prices, data and other information are not
 warranted as to completeness or accuracy and are subject to change
 without notice. Any comments or statements made herein do not
 necessarily reflect those of JPMorgan Chase  Co., its subsidiaries
 and affiliates. This transmission may contain information that is
 privileged, confidential, legally privileged, and/or exempt from
 disclosure under applicable law. If you are not the intended
 recipient, you are hereby notified that any disclosure, copying,
 distribution, or use of the information contained herein (including
 any reliance thereon) is STRICTLY PROHIBITED. Although this
 transmission and any attachments are believed to be free of any
 virus or other defect that might affect any computer system into
 which it is received and opened, it is the responsibility of the
 recipient to ensure that it is virus free and no responsibility is
 accepted by JPMorgan Chase  Co., its subsidiaries and affiliates,
 as applicable, for any loss or damage arising in any way from its
 use. If you received this transmission in error, please immediately
 contact the sender and destroy the material in its entirety,
 whether in electronic or hard copy format. Thank you.
 Please refer to http://www.jpmorgan.com/pages/disclosures for
 disclosures relating to UK legal entities.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Debugging Maven in Netbeans

2007-08-28 Thread jayaram . x . ganapathy
Hi,

I have opened few maven project. I use NB6 Ms10 with external maven build 
enabled. The maven version I have is 2.0.7. I am able to compile( mvn 
install) the project. Now when I try to execute the same I get the 
following message.

In order to run the project, Netbeans needs a custom profile in your 
pom.xml . To create and customise the profile, go to the project's 
Properties dialog and update the Run Panel.

I can see profiles tag in settings.xml but nothing in pom.xml. Any help 
appretiated. I want to run the programs in debug mode to understand what 
happens.


Thanks  Regards, 
Jayaram

This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase  Co., its subsidiaries
and affiliates. This transmission may contain information that is
privileged, confidential, legally privileged, and/or exempt from
disclosure under applicable law. If you are not the intended
recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including
any reliance thereon) is STRICTLY PROHIBITED. Although this
transmission and any attachments are believed to be free of any
virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the
recipient to ensure that it is virus free and no responsibility is
accepted by JPMorgan Chase  Co., its subsidiaries and affiliates,
as applicable, for any loss or damage arising in any way from its
use. If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you. 
Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.


How to call maven from netbeans

2003-12-05 Thread Raphaël Piéroni
I have added in the wiki an howto on calling maven goals from whithin
the netbeans IDE. please read it here :
http://wiki.codehaus.org/maven/NetBeansIdeIntegration

I have added it after the precedent one.

Hope this helps...

Raphaël Piéroni

=

| Raphaël Piéroni  |
| 33+ 223 351 354  |
| mailto:[EMAIL PROTECTED]|
| http://www.dexem.com |
| mailing:[EMAIL PROTECTED] |



Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la récolte de dons pour le Téléthon.
http://fr.promotions.yahoo.com/caritatif/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]