Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ant and external jars relative to an environment variable




On Aug 18, 2006, at 1:26 PM, Rob Lockstone <email@hidden> wrote:


I assume you're using one of the ant-based projects in Xcode, right?  

You should not be trying to build via ant using an Xcode Java project.



Yes.  It's an "Ant-based Application jar".  It's a command-line tool though.


Now that that's out of the way, in your Target(s), do you have the  

necessary environment variables defined? This would be in the Build  

Settings section of your target, e.g.:


MYPROJECT /Users/you/path/to/my/project/stuff



The environment variable is set in the shell.  It works fine from the shell.  I could indeed set it in the target but why do I have to?  Does XCode fork a certain type of shell?  sh?  bash? csh?  Maybe I'm not setting it in that particular shell?  (I don't use bash as my default.)



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.