[ http://jira.jboss.com/jira/browse/JBBUILD-17?page=comments#action_12315780 ] Ryan Campbell commented on JBBUILD-17: --------------------------------------
This needs to be fixed in tools/etc/jbossbuild/tasks.xml in jboss-head. > execant is broken on windows > ---------------------------- > > Key: JBBUILD-17 > URL: http://jira.jboss.com/jira/browse/JBBUILD-17 > Project: JBoss Build System > Type: Bug > Reporter: Ryan Campbell > Fix For: Q105 > > > When I tried to execute synchronize, I received an IOException: CreateProcess > ant -f jbossbuild.xml synchronize.after error=2 > From what I can tell, error=2 is file not found. I think this is because of > the way execant is implemented using the exec task. > <exec dir="@{dir}" > executable="ant" > > > <arg line="-f jbossbuild.xml @{target}"/> > </exec> > For windows it should be: > <exec dir="@{dir}" > executable="cmd" > > > <arg line="ant -f jbossbuild.xml @{target}"/> > </exec> > So to fix this, we just need to do some conditional processing using the os > family information like in testsuite/imports/server-config.xml -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
