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.
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
Rob
On Aug 18, 2006, at 09:03 , Robert La Ferla wrote:
I have several external jars that are located relative to a
directory specified by an environment variable $MYPROJECT. I need
to construct a classpath within my build.xml so that javac can
compile my project. I do not want to include the external jars in
my project - just reference them. It seemed pretty straightforward
but I can't seem to get it to work under XCode. I have had some
success from the Terminal though. What's the recommended way to do
this?
and then used classpathref="myclasspath" in the javac task but that
didn't work either. I also tried using FileSets.
What am I missing?
SYSTEM/VERSION INFO
Mac OS X Intel 10.4.7 and XCode 2.3
% ant -version
Apache Ant version 1.6.5 compiled on April 11 2006
% uname -a
Darwin localhost 8.7.1 Darwin Kernel Version 8.7.1: Wed Jun 7
16:19:56 PDT 2006; root:xnu-792.9.72.obj~2/RELEASE_I386 i386 i386
_______________________________________________
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