Camunda Cockpit plugin building with ant

65 views
Skip to first unread message

Niall Deehan

unread,
Aug 11, 2015, 9:06:50 AM8/11/15
to camunda BPM users
Hi Folks,

I'm trying to install Bernd's cool new migration plugin: https://github.com/camunda/camunda-cockpit-plugins/tree/master/cockpit-plugin-version-migration
But i'm having a bit problem trying to run the ant script that should deploy the plugin to my local jboss server - i'm getting this error:

Buildfile: C:\Users\Niall\demoWorkspace\cockpit-plugin-version-migration\build.xml

package.mvn:

BUILD FAILED
C:\Users\Niall\demoWorkspace\cockpit-plugin-version-migration\build.xml:21: Execute failed: java.io.IOException: Cannot run program "mvn.bat" (in directory "C:\Users\Niall\demoWorkspace\cockpit-plugin-version-migration"): CreateProcess error=2, The system cannot find the file specified

Total time: 213 milliseconds


I'm installed maven and created the M2_HOME and M2 environment variables. i've also added %M2_HOME%\bin to the path - i really can't work out why it can't find maven.


Thanks guys!

Bernd Rücker (camunda)

unread,
Aug 11, 2015, 9:09:24 AM8/11/15
to camunda-...@googlegroups.com

Have you googled for

 

Cannot run program "mvn.bat": CreateProcess error=2, The system cannot find the file specified

?

 

I remember that there was some trick or installation thing you have to do – but not what it was (but that Google knew how ;-)).

--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/807afc88-6708-4916-87c2-70af49debf9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Niall Deehan

unread,
Aug 11, 2015, 9:21:41 AM8/11/15
to camunda BPM users
So... it turns out if i rename mvn.bat to mvn.cmd it works perfectly....

Thanks Bernd! (and to a lesser extend Google)

The build still failed mind you so I'm not done with posting stack traces just yet :)


BUILD FAILED
C:\Users\Niall\demoWorkspace\cockpit-plugin-version-migration\build.xml:34: C:\eclipse_kepler\Camunda_7.3-ee_WildFly_Demoserverwildfly-8.2.0.Finalstandalonedeployments does not exist.

any ideas?

Bernd Rücker (camunda)

unread,
Aug 11, 2015, 9:27:06 AM8/11/15
to camunda-...@googlegroups.com

Do you have a build.properties in USER/.camunda (C:\Users\ruecker\.camunda\build.properties for me)?

 

deploy.jboss.dir=D:/camundaBPM/demopoint/camunda-bpm-wildfly/server/wildfly-8.2.0.Final/standalone/deployments

 

Note the direction of the slashes!

Niall Deehan

unread,
Aug 11, 2015, 9:34:15 AM8/11/15
to camunda-...@googlegroups.com
It was indeed the slashes - all fixed now - deployed and looking lovely!
Thanks Bernd!

--
You received this message because you are subscribed to a topic in the Google Groups "camunda BPM users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camunda-bpm-users/5r9EgtzwnqQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camunda-bpm-us...@googlegroups.com.

To post to this group, send email to camunda-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages