Re: XCode 3 and javadoc
Re: XCode 3 and javadoc
- Subject: Re: XCode 3 and javadoc
- From: Greg Guerin <email@hidden>
- Date: Thu, 21 Aug 2008 16:59:35 -0700
Nathaniel Trevivian wrote:
I added the javadoc target to the build file recently. I thought
all I needed to do was add another target to the build file, and it
would be called during XCode's build process.
Adding an Ant target to build.xml will only affect the build if you
also list the target in the default build dependencies.
Xcode knows nothing about the contents of build.xml. It defers the
building entirely to Ant. So if Ant isn't building your javadoc
target, it's because it's not in Ant's dependencies for what's being
built. That is, it's not in your build.xml file's default target
dependencies.
If you want Xcode to run Ant so it builds a javadoc target, then you
have to add an Xcode target that tells Ant to do this. There is a
parameter in the Xcode target that provides the name of the Ant
target to build. Change that to 'javadoc' and Ant will build that
target; don't and it won't.
If you don't have a 2nd Xcode target and don't know how to add one,
post again and say that.
If you already have a 2nd Xcode target that should be building the
Ant 'javadoc' target, then post again and say that.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden