You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Robert Nicholson <ro...@elastica.com> on 2002/12/20 11:41:21 UTC

Building 1.5.1 Final under OS 10.2.2?

I'm seeing this problem when I build dist

Robert-Nicholsons-Computer:~/Java/jakarta/jakarta-ant] robert% 
./build.sh dist
Buildfile: build.xml

dist:

prepare:

check_for_optional_packages:

build:
Copying 2 files to /Users/robert/Java/jakarta/jakarta-ant/build/classes

jars:
Building jar: /Users/robert/Java/jakarta/jakarta-ant/build/lib/ant.jar

dist-lite:
Copying 1 file to 
/Users/robert/Java/jakarta/jakarta-ant/jakarta-ant-1.5.1/lib
Java: UNIXProcess:forkAndExec: exec failed: Argument list too long

BUILD FAILED
file:/Users/robert/Java/jakarta/jakarta-ant/build.xml:773: chmod 
returned: -1

Total time: 12 seconds
[Robert-Nicholsons-Computer:~/Java/jakarta/jakarta-ant] robert%


anybody seen this before?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Problem with ant via samba: build.xml not found

Posted by Stefan Schulz <ss...@ivs.tu-berlin.de>.
Dear members,

wonder, if anyone has done this strange thing before and entered to this
problem:

I am using VMWare w/ Linux on a WinXP machine for java development. The
resulting software shall be cross plattform combatible, hence, I would
like to share the sources via samba. Everything works fine mounting a
shared win-folder to linux. I tried to use eclipse on both system with
the shared sources, which also works fine.
When it comes to ant, I cannot build inside Linux now. ant only states,
that the build.xml cannot be found. That is, using a shell, being
located in the directory containing the build.xml, starting ant with and
without naming build.xml. The same tree at a linux directory works fine
as does the ant from windows command shell.
Of course, a workaround would be to use the command shell. But by now I
am also developing additional ant-tasks, that I have to test on both OS,
too.

Any idea on this?

Best regards
Stefan
---
http://ivs.tu-berlin.de


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>