Yeah, this was build path related. PDF stuff is in a different source
folder and is built from another Ant file (doc.xml) with itext lib
included via a different path. I just fixed the build paths to
include everything from the cayenne-other/lib folder whenever the
tools are built. The build should work now.
Andrus
On Apr 19, 2006, at 3:09 AM, Cris Daniluk wrote:
> I'm a bit confused by this... the confluence-soap.jar is checked in
> and
> contains the necessary dependencies. It looks like the ant task isn't
> including the jar under cayenne-other/lib... however, the PDF tools
> are also
> in the cayenne-other/src tree and rely on itext.jar, which is in
> the lib
> folder
>
> Any thoughts?
>
> Cris
>
> On 4/18/06, Cris Daniluk <cris.danilu..mail.com> wrote:
>>
>> I bundled the wsdl2java-generated code into a JAR file - looks
>> like it
>> didn't get committed, though I'm not sure why it didn't show up in
>> the sync.
>> I will commit it as soon as I'm home.
>>
>> Sorry!
>>
>> Cris
>>
>>
>> On 4/18/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
>>>
>>> Cris,
>>>
>>> I am getting a bunch of errors like the one below when I do "cd
>>> cayenne-ant && ant". Is there some generated code that needs to be
>>> checked in?
>>>
>>>
>>> [mkdir] Created dir: /Volumes/hfs2/Users/andrus/work/cayenne/
>>> cayenne-ant/build/tools/classes
>>> [javac] Compiling 5 source files to /Volumes/hfs2/Users/andrus/
>>> work/cayenne/cayenne-ant/build/tools/classes
>>> [javac] /Volumes/hfs2/Users/andrus/work/cayenne/cayenne-other/
>>> src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/
>>> DocGenerator.java:63: package
>>> org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1 does
>>> not exist
>>> [javac] import
>>> org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1.Conflu
>>> ence
>>> SoapService;
>>>
>>> [javac]
>>> ^
>>> [javac] /Volumes/hfs2/Users/andrus/work/cayenne/cayenne-other/
>>> src/tools/java/org/objectstyle/cayenne/tools/ant/docgen/
>>> DocGenerator.java:64: package
>>> org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1 does
>>> not exist
>>> [javac] import
>>> org.objectstyle.confluence.rpc.soap_axis.confluenceservice_v1.Conflu
>>> ence
>>> SoapServiceProxy;
>>>
>>>
>>> Andrus
>>>
>>> On Apr 18, 2006, at 5:38 AM, Cris Daniluk wrote:
>>>
>>>> I just checked in the code to generate the docs. I have not tied in
>>>> the ant
>>>> task yet, as it does add considerable weight to the build time -
>>>> about 2
>>>> minutes on my high speed connection. Basically, it would run
>>>> something like
>>>> this:
>>>>
>>>> <docgen spaceKey="CAYDOC" docBase="${doc.base}"
>>>> startPage="Documentation" username="${confluenceUser.username}"
>>>> password="${
>>>> confluenceUser.password }" />
>>>> <copy todir="${doc.base}">
>>>> <fileset dir="../cayenne-other/docs">
>>>> <include name="**/*"/>
>>>> </fileset>
>>>> </copy>
>>>>
>>>>
>>>> This will include the CSS and supporting images. The rest is fed
>>>> through a
>>>> velocity template, and the content is pulled via the SOAP API. All
>>>> attachments (aka images) are pulled locally and included in the doc
>>>> bundle,
>>>> which seems to weigh in at around 2mb, not much larger than the old
>>>> docs
>>>> when you consider what we've added in terms of new content. Note
>>>> that a
>>>> confluence user/pass is required.
>>>>
>>>> I THINK the generated content is now correct. I've tested all the
>>>> links,
>>>> etc. Feedback on this is definitely appreciated! Hopefully we can
>>>> have this
>>>> all in place for the first milestone.
>>>>
>>>> Cris
>>>
>>>
>>
This archive was generated by hypermail 2.0.0 : Wed Apr 19 2006 - 03:11:28 EDT