NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
fabio.portieri
Joined: 19 Mar 2010 Posts: 34
|
Posted: Thu Jul 29, 2010 2:37 pm Post subject: launch a maven based netbeans platform application without ide and executable |
|
|
Hi
i was wondering how to do that, so far i'm only able to build (mvn clean install) and launch it with the executable generated, but what if i want to run with maven?
I managed to do with ant thanks to Geertjan links, a simple ant run is enough, for maven i was told to do maven exec:exec but that maven plugin require to define the main class in the project.. too bad i have no idea where is the main class in a netbeans platform application...
Thanks in advance |
|
| Back to top |
|
 |
Edvin Syse Posted via mailing list.
|
Posted: Thu Jul 29, 2010 9:00 pm Post subject: [platform-dev] Re: launch a maven based netbeans platform application without ide and executable |
|
|
On 29.07.2010 14:38, fabio.portieri wrote:
| Quote: | Hi
i was wondering how to do that, so far i'm only able to build (mvn clean install) and launch it with the executable generated, but what if i want to run with maven?
I managed to do with ant thanks to Geertjan links, a simple ant run is enough, for maven i was told to do maven exec:exec but that maven plugin require to define the main class in the project.. too bad i have no idea where is the main class in a netbeans platform application...
|
Go to your application module and do:
mvn nbm:run-platform
--
Edvin Syse |
|
| Back to top |
|
 |
fabio.portieri
Joined: 19 Mar 2010 Posts: 34
|
Posted: Fri Jul 30, 2010 7:47 am Post subject: |
|
|
| Thank you, easy enough |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|