You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Camron Levanger <ca...@cicbiz.com> on 2003/05/14 03:19:51 UTC

OS X Problems

Hi,

I am getting some strange happenings.

1.  Ant will not get environment variables on OS X

2. Java: UNIXProcess:forkAndExec: exec failed: Argument list too long

3. Out of memory on compiles (even thought it really isn't out of
memory).


#2 I believe to be ant making an exec() call (prob chmod or something)
but I have over 600 classes compiling so a list of arguments that long
is crashing it.

the others i can't figure out at all, any help would be really nice!

Thanks,

Cam

Mac OS X 10.2.6 , ANT 1.5.3 , Eclipse 2.1


RE: New to Ant

Posted by "W. Sean Hennessy" <sh...@goldenhourdata.com>.
Try using the full path to ant to ensure use of correct application and see
if results vary.

-----Original Message-----
From: David Mitchell [mailto:dmitchell@oproma.com]
Sent: Wednesday, May 14, 2003 11:55 AM
To: 'Ant Users List'
Subject: RE: New to Ant


Hi Sean,

Thanks for your input. Something must be seriously wrong with my
enviroment, because even this does not work. I still get the javac
compiler options when I run Ant.
I've reset all of my environment variables for Ant thinking this was the
problem... Still no luck.


>>Recommend you get more info on the problem.
>>turn on debug and capture the output to logfile
>>with "-debug -logfile dmitchell.log" added to your ant command line.
>>Examine the dmitchell.log in text editor.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




RE: New to Ant

Posted by David Mitchell <dm...@oproma.com>.
Hi Sean,

Thanks for your input. Something must be seriously wrong with my
enviroment, because even this does not work. I still get the javac
compiler options when I run Ant. 
I've reset all of my environment variables for Ant thinking this was the
problem... Still no luck.


>>Recommend you get more info on the problem.
>>turn on debug and capture the output to logfile
>>with "-debug -logfile dmitchell.log" added to your ant command line.
>>Examine the dmitchell.log in text editor.


RE: New to Ant

Posted by "W. Sean Hennessy" <sh...@goldenhourdata.com>.
Hi David,

Recommend you get more info on the problem.
turn on debug and capture the output to logfile
 with "-debug -logfile dmitchell.log" added to your ant command line.
examine the dmitchell.log in text editor.

Regards,
Sean

-----Original Message-----
From: David Mitchell [mailto:dmitchell@oproma.com]
Sent: Wednesday, May 14, 2003 10:51 AM
To: 'Ant Users List'
Subject: New to Ant


Hi Eveyone,

I'm new to Ant and actually had it working without a hitch a few days
ago.
Now when I go back to build the same project that I had it working with
previously I get some strange behaviour.

When I go to the dir where my Java source and build file is on the
command line and enter the command "Ant", instead of the source building
like it was previously, I instead a list of commands that are available
to the Java compilier, as if I was trying to run javac. Same thing if I
run Ant with various commamd switches such as Ant -v.

Am I problem missing something fundamental due to my lack of knowledge
of Ant. Any suggestions would be most appreciated.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




New to Ant

Posted by David Mitchell <dm...@oproma.com>.
Hi Eveyone,

I'm new to Ant and actually had it working without a hitch a few days
ago.
Now when I go back to build the same project that I had it working with
previously I get some strange behaviour.

When I go to the dir where my Java source and build file is on the
command line and enter the command "Ant", instead of the source building
like it was previously, I instead a list of commands that are available
to the Java compilier, as if I was trying to run javac. Same thing if I
run Ant with various commamd switches such as Ant -v.

Am I problem missing something fundamental due to my lack of knowledge
of Ant. Any suggestions would be most appreciated.

Dave


Re: OS X Problems

Posted by Camron Levanger <ca...@cicbiz.com>.
Yes, I am trying to run Ant within eclipse.  I have not tried from
command line yet, will do now.

But anyone had experience with my other problems?  Or maybe it's just
eclipse?  I'll let you know how it goes.

Cam

    On Tuesday, May 13, 2003, at 09:19  PM, Camron Levanger wrote:
    > Hi,
    >
    > I am getting some strange happenings.
    >
    > 1.  Ant will not get environment variables on OS X
    
    You mentioned Eclipse - do you mean running Ant through Eclipse?  Have 
    you tried directly from the command-line?
    
    I successfully run Ant on OS X complete with environment variables 
    using <property environment="env"/>... all from the command-line or 
    from within IDEA.  I don't use Eclipse though.
    
    	Erik
    
    
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
    For additional commands, e-mail: user-help@ant.apache.org
    

Re: OS X Problems

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
On Tuesday, May 13, 2003, at 09:19  PM, Camron Levanger wrote:
> Hi,
>
> I am getting some strange happenings.
>
> 1.  Ant will not get environment variables on OS X

You mentioned Eclipse - do you mean running Ant through Eclipse?  Have 
you tried directly from the command-line?

I successfully run Ant on OS X complete with environment variables 
using <property environment="env"/>... all from the command-line or 
from within IDEA.  I don't use Eclipse though.

	Erik