Mailing Lists: Apple Mailing Lists

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

Xcode with Java ant project



I'm having trouble getting Xcode to work with a Java ant project.  I'm
just trying out Xcode as I've been doing Java in Eclipse.

I did the following:

1.  Create a new Java ant project using wizard.  This generates a
simple hello world app.

2.  Build

Error:

/Developer/Java/Ant/bin/ant -emacs
/Developer/Java/Ant/bin/ant: line 1: uname: command not found
/Developer/Java/Ant/bin/ant: line 1: basename: command not found
/Developer/Java/Ant/bin/ant: line 1: dirname: command not found
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher


The weird thing is that I can build it perfectly fine in a terminal
session.  Any ideas on what is causing the build to fail in Xcode?

Thanks,
Andrew
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/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.