Re: WOProject XcodeIndex working
Re: WOProject XcodeIndex working
- Subject: Re: WOProject XcodeIndex working
- From: David LeBer <email@hidden>
- Date: Tue, 3 May 2005 21:04:15 -0400
The target I documented is a modified version of the one available here:
<http://www.objectstyle.org/woproject/ant/xcodeindex.html>
If I am reading it correctly, you need to provide it with a FileSet
for the *frameworks*, the *resources*, and
the *sources* you wish to be indexed. It doesn't look like the task
will automagicaly recognize nested projects. But you should be able
to modify the includes, or the patternsets, to handle whatever form
of file organization you are using.
On May 3, 2005, at 7:19 PM, Greg wrote:
OK, got it working, but it doesn't seem to scan sub projects to
include them. Is this a known issue?
Greg
On 03/05/2005, at 10:06 PM, David LeBer wrote:
You need to make sure you have the WOProject.jar in your Ant class
path.
I always struggle with the niceties of Java class paths, so I put
it in /Developer/Java/Ant/lib/ with the rest of the Ant jars.
If there is a more appropriate place I'd love to hear it. It
didn't work in /Library/Java/Extensions/ (couldn't find all of the
classes it needed).
;david
On May 3, 2005, at 12:38 AM, Greg wrote:
I just tried it, but got a failed message
BUILD FAILED
/Users/ghulands/Development/Eclipse/workspace/DigitalDavinci/
build.xml:14: typedef class
org.objectstyle.woproject.ant.FrameworkSet cannot be found
<target name="xcode.index" depends="setProps">
<typedef name="frameworks"
classname="org.objectstyle.woproject.ant.FrameworkSet"/>
<frameworks root="${wo.wosystemroot}" id="system.frameworks">
<patternset>
<includesfile name="woproject/
ant.frameworks.wo.wosystemroot"/>
</patternset>
</frameworks>
<frameworks root="${wo.wolocalroot}" id="local.frameworks"
embed="true">
<patternset>
<includesfile name="woproject/
ant.frameworks.wo.wolocalroot"/>
</patternset>
</frameworks>
<taskdef name="xcodeindex"
classname="org.objectstyle.woproject.ant.XcodeIndex"/>
<xcodeindex projectFile="./Xcode.xcode">
<resources dir=".">
<include name="*.wo"/>
<include name="*.eomodeld"/>
<include name="*.api"/>
</resources>
<sources dir="./src">
<include name="**/*.java"/>
</sources>
<frameworks refid="system.frameworks"/>
<frameworks refid="local.frameworks"/>
</xcodeindex>
</target>
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden