You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Donald <pe...@realityforge.org> on 2002/12/10 21:34:39 UTC

Re: [CVS] How to compile Avalon/Excalibur (Bug in build system?)

Hi,

It looks like 1, 2 and 3 are bugs in build system. Thanks for telling us - 
could someone fix these up?

On Wed, 11 Dec 2002 04:58, Olaf Bergner wrote:
> Hi,
>
> I solved my problems, having successfully compiled Excalibur. Just a few
> hints for people having similar problems (or am I the only one who is that
> stupid?):
>
> 1) In the top-level ant.properties(.sample) file the version numbers of the
> Xerces and Xalan jar files have to be updated to the ones found under
> jakarta-avalon/tools/lib.
>
> 2) The property avalon.framework.home has to be changed from
> (...)/jakarta-avalon/build/lib to (...)/jakarta-avalon/target/lib.
>
> 3) Using ant 1.5.1 I got an error complaining about an incorrect
> "zipgroupfileset" element nested in a jar task that is part of the
> "build.xml" under (...)/fortress. I changed it to "zipfileset", ommitting
> the "group" part only to get a complaint about the "destfile" attribute.
> Though the ant docs state that "destfile" is supported, I changed it to
> "jarfile" and it worked like a charm.
>
> [4) I found out that - at least under Windows - you cannot use symbolic
> links in ant.properties files :( ]
>
> Items 2 and 3 might hint at possible bugs in the build system though I am
> not sure how much of it might be ant version dependant.
>
> Anyways, thanks for a great framework,
>
> Olaf
>
> > -----Ursprüngliche Nachricht-----
> > Von: Olaf Bergner [mailto:olaf.bergner@gmx.de]
> > Gesendet: Dienstag, 10. Dezember 2002 17:26
> > An: Avalon User List
> > Betreff: [CVS] How to compile Avalon/Excalibur
> >
> >
> > Hi,
> >
> > I have been quietly following discussions on this list for a few weeks,
> > striving to port a little pet app of mine to (preferably) Fortress.
> > Recognizing that the whole Avalon/Excalibur project seems to undergo a
> > complete overhaul (or should this be a permanent situation?;)) I
> > decided on
> > fetching the sources via CVS, the more so since Fortress/Merlin
> > are not yet
> > released.
> > Unfortunately, I got stuck while trying to compile
> > "jakarta-avalon-excalibur". I am not a Java expert, much less an
> > ant expert
> > but I understand that the ant scripts that come with the sources seem to
> > assume a certain directory layout for additionally needed packages etc. I
> > have gambled a bit with the ant.properties file but until now to no
> > avail. The java compiler keeps complaining about missing class
> > definitions, most notably those pertaining to the *.extension.* package.
> > What I did was creating a top-level directory "CVS-Modules" and
> > checking out
> > jakarta-avalon, jakarta-avalon-excalibur and
> > jakarta-avalon-logkit into it,
> > so as to have all required sources neatly combined under one common
> > directory. But this failed to work out as expected.
> > So I would like to know whether there is a better directory layout, or
> > how to adapt the ant.properties file so as to compile Excalibur?
> >
> > Any help would be greatly appreciated,
> >
> > Olaf
> >
> > Olaf Bergner
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>

-- 
Cheers,

Peter Donald
----------------------------------------
"Liberty means responsibility. That is 
      why most men dread it." - Locke
---------------------------------------- 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [CVS] How to compile Avalon/Excalibur (Bug in build system?)

Posted by Peter Donald <pe...@realityforge.org>.
:)

Thanks!

On Fri, 13 Dec 2002 01:24, Peter Royal wrote:
> On Wednesday, December 11, 2002, at 04:59  PM, Peter Donald wrote:
> > Can someone take out time from the new bike sheds and courts of law to
> > fix
> > this?
>
> but i want to ride my bicycle! i want to ride my bike! and a mauve shed
> to store it in to boot ;)
>
> >>> 1) In the top-level ant.properties(.sample) file the version numbers
> >>> of
> >>> the Xerces and Xalan jar files have to be updated to the ones found
> >>> under
> >>> jakarta-avalon/tools/lib.
>
> fixed.
>
> >>> 2) The property avalon.framework.home has to be changed from
> >>> (...)/jakarta-avalon/build/lib to (...)/jakarta-avalon/target/lib.
>
> fixed.
>
> >>> 3) Using ant 1.5.1 I got an error complaining about an incorrect
> >>> "zipgroupfileset" element nested in a jar task that is part of the
> >>> "build.xml" under (...)/fortress. I changed it to "zipfileset",
> >>> ommitting
> >>> the "group" part only to get a complaint about the "destfile"
> >>> attribute.
> >>> Though the ant docs state that "destfile" is supported, I changed it
> >>> to
> >>> "jarfile" and it worked like a charm.
>
> I don't get an error with ant 1.5... so this is still outstanding.
> -pete

-- 
Cheers,

Peter Donald
*------------------------------------------------*
| Those who know how to think need no teachers.  |
|                                      - Gandhi  |     
*------------------------------------------------*


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [CVS] How to compile Avalon/Excalibur (Bug in build system?)

Posted by Peter Royal <pr...@apache.org>.
On Wednesday, December 11, 2002, at 04:59  PM, Peter Donald wrote:
> Can someone take out time from the new bike sheds and courts of law to 
> fix
> this?

but i want to ride my bicycle! i want to ride my bike! and a mauve shed 
to store it in to boot ;)

>>> 1) In the top-level ant.properties(.sample) file the version numbers 
>>> of
>>> the Xerces and Xalan jar files have to be updated to the ones found 
>>> under
>>> jakarta-avalon/tools/lib.

fixed.

>>> 2) The property avalon.framework.home has to be changed from
>>> (...)/jakarta-avalon/build/lib to (...)/jakarta-avalon/target/lib.

fixed.

>>> 3) Using ant 1.5.1 I got an error complaining about an incorrect
>>> "zipgroupfileset" element nested in a jar task that is part of the
>>> "build.xml" under (...)/fortress. I changed it to "zipfileset", 
>>> ommitting
>>> the "group" part only to get a complaint about the "destfile" 
>>> attribute.
>>> Though the ant docs state that "destfile" is supported, I changed it 
>>> to
>>> "jarfile" and it worked like a charm.

I don't get an error with ant 1.5... so this is still outstanding.
-pete

-- 
peter royal -> proyal@apache.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [CVS] How to compile Avalon/Excalibur (Bug in build system?)

Posted by Peter Donald <pe...@realityforge.org>.
Can someone take out time from the new bike sheds and courts of law to fix 
this?

On Wed, 11 Dec 2002 07:34, Peter Donald wrote:
> Hi,
>
> It looks like 1, 2 and 3 are bugs in build system. Thanks for telling us -
> could someone fix these up?
>
> On Wed, 11 Dec 2002 04:58, Olaf Bergner wrote:
> > Hi,
> >
> > I solved my problems, having successfully compiled Excalibur. Just a few
> > hints for people having similar problems (or am I the only one who is
> > that stupid?):
> >
> > 1) In the top-level ant.properties(.sample) file the version numbers of
> > the Xerces and Xalan jar files have to be updated to the ones found under
> > jakarta-avalon/tools/lib.
> >
> > 2) The property avalon.framework.home has to be changed from
> > (...)/jakarta-avalon/build/lib to (...)/jakarta-avalon/target/lib.
> >
> > 3) Using ant 1.5.1 I got an error complaining about an incorrect
> > "zipgroupfileset" element nested in a jar task that is part of the
> > "build.xml" under (...)/fortress. I changed it to "zipfileset", ommitting
> > the "group" part only to get a complaint about the "destfile" attribute.
> > Though the ant docs state that "destfile" is supported, I changed it to
> > "jarfile" and it worked like a charm.
> >
> > [4) I found out that - at least under Windows - you cannot use symbolic
> > links in ant.properties files :( ]
> >
> > Items 2 and 3 might hint at possible bugs in the build system though I am
> > not sure how much of it might be ant version dependant.
> >
> > Anyways, thanks for a great framework,
> >
> > Olaf
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Olaf Bergner [mailto:olaf.bergner@gmx.de]
> > > Gesendet: Dienstag, 10. Dezember 2002 17:26
> > > An: Avalon User List
> > > Betreff: [CVS] How to compile Avalon/Excalibur
> > >
> > >
> > > Hi,
> > >
> > > I have been quietly following discussions on this list for a few weeks,
> > > striving to port a little pet app of mine to (preferably) Fortress.
> > > Recognizing that the whole Avalon/Excalibur project seems to undergo a
> > > complete overhaul (or should this be a permanent situation?;)) I
> > > decided on
> > > fetching the sources via CVS, the more so since Fortress/Merlin
> > > are not yet
> > > released.
> > > Unfortunately, I got stuck while trying to compile
> > > "jakarta-avalon-excalibur". I am not a Java expert, much less an
> > > ant expert
> > > but I understand that the ant scripts that come with the sources seem
> > > to assume a certain directory layout for additionally needed packages
> > > etc. I have gambled a bit with the ant.properties file but until now to
> > > no avail. The java compiler keeps complaining about missing class
> > > definitions, most notably those pertaining to the *.extension.*
> > > package. What I did was creating a top-level directory "CVS-Modules"
> > > and checking out
> > > jakarta-avalon, jakarta-avalon-excalibur and
> > > jakarta-avalon-logkit into it,
> > > so as to have all required sources neatly combined under one common
> > > directory. But this failed to work out as expected.
> > > So I would like to know whether there is a better directory layout, or
> > > how to adapt the ant.properties file so as to compile Excalibur?
> > >
> > > Any help would be greatly appreciated,
> > >
> > > Olaf
> > >
> > > Olaf Bergner
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>

-- 
Cheers,

Peter Donald
---------------------------------------------------------
Clarke's Third Law: "Any technology distinguishable from 
magic is insufficiently advanced".
---------------------------------------------------------



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>