or simply debug with the IDE, not sure about netbeans but IntelliJ
Idea and Eclipse support it
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014/1/23 Jean-Louis MONTEIRO <jeano...@gmail.com>:
> You can also just use tomee:debug instead of tomee:run ;-)
>
>
> 2014/1/23 Thiago Veronezi <thi...@veronezi.org>
>
>> Do you want to debug it? You can still run tomee via command line and debug
>> it with NetBeans.
>>
>>       <plugin>
>>         <groupId>org.apache.openejb.maven</groupId>
>>         <artifactId>tomee-maven-plugin</artifactId>
>>         <version>${tomee.version}</version>
>>         <configuration>
>>           <context>myapp</context>
>>           <debugPort>5025</debugPort>
>>           <debug>true</debug>
>>         </configuration>
>>       </plugin>
>>
>> The configuration above will make TomEE wait for a remote connection (port
>> 5025) before continuing the startup process.
>> I'm not a NetBeans user but I'm pretty sure they have an easy wait to
>> attach it to a remote JVM (in this case, your tomee server). Google
>> "NetBeans remote debug attach".
>>
>> []s,
>> Thiago.
>>
>>
>>
>> On Thu, Jan 23, 2014 at 6:35 AM, mauro2java2011 <mauro2java2...@gmail.com
>> >wrote:
>>
>> > hi all.
>> > I use netbeans with maven embedded .
>> > I not understand how i can run the maven projects of tomee withou use
>> > command line:
>> > for example i read fro mtomee web iste to write t oconsìolle.
>> > mvn tomee:run
>> >
>> > but how i can set netbeans for use the tomee plugin???
>> >
>> > please but maven for me it is not simple to understand .
>> > i have together develop with import jars libraries.,
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://openejb.979440.n4.nabble.com/use-mvn-tomee-run-fro-mnetbeans-howucommend-of-tomee-plugin-tp4667264.html
>> > Sent from the OpenEJB User mailing list archive at Nabble.com.
>> >
>>
>
>
>
> --
> Jean-Louis

Reply via email to