I have the following macrodef in Ant to run "mvn" to create project files. It works fine on Windows XP and OS X, but on Linux it spits out "[exec] Result: 1". Any ideas on how to make this work on Linux?
Thanks, Matt <macrodef name="projectfiles"> <attribute name="dir"/> <sequential> <exec dir="@{dir}" executable="mvn.bat" os="Windows XP"> <arg line="eclipse:eclipse idea:idea"/> </exec> <exec dir="@{dir}" executable="mvn" os="Mac OS X"> <arg line="eclipse:eclipse idea:idea"/> </exec> <exec dir="@{dir}" executable="mvn.sh" os="Linux"> <arg line="eclipse:eclipse idea:idea"/> </exec> </sequential> </macrodef> -- View this message in context: http://www.nabble.com/Issues-with-calling-mvn-from-Ant-on-Linux-tf2407585.html#a6710971 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]