You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@multitask.com.au on 2003/01/15 07:26:58 UTC

Re: [Jelly] Need help to run maven tags-build

"Willie Vu" <ct...@ust.hk> wrote on 15/01/2003 01:37:28 PM:

> I'm using CVS HEAD Maven to build CVS HEAD jelly.  When I run maven
> tags-build in the <jelly> root directory, I got the following error:
> 
> Starting the reactor ...
> 
> BUILD FAILED
> ..\..\commonDependencies.ent (The system cannot find the file specified)
> Total time:  3 seconds
> 
> It looks like the entity reference in tag's project.xml fails to 
resolve.
> 
> <!ENTITY commonDeps SYSTEM "file:../../commonDependencies.ent">
> 
> Any help?
Yep.

tags-build doesn't work yet :) Because when running the reactor, the 
'current directory' is the directory you run the reactor from, not the 
directory of the project descriptor.

Currently, you'll need to build each taglib independently.

I think that the fix for this is to set the user.dir system property in 
the reactor tag as it's processing each project, but I haven't had the 
time to work out how to do this in Maven yet.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au




RE: [Jelly] Need help to run maven tags-build

Posted by Willie Vu <wi...@yahoo.com>.
> -----Original Message-----
> From: dion@multitask.com.au [mailto:dion@multitask.com.au] 
> Sent: Thursday, January 16, 2003 9:20
> To: Jakarta Commons Users List
> Subject: RE: [Jelly] Need help to run maven tags-build
> 
> 
> "Willie Vu" <ct...@ust.hk> wrote on 16/01/2003 11:56:05 AM:
> 
> > I see.
> > 
> > Is it a good idea to make project.xml inheritance overrideable?
> I'd like it, but I don't currently have the time to implement it.
> 
> Do you want to take a go?

dIon,

I submitted a request for enhancing project's resource inheritance to Maven.
Someone from Maven said he will do that.  We'll wait for his work.

Willie


RE: [Jelly] Need help to run maven tags-build

Posted by di...@multitask.com.au.
"Willie Vu" <ct...@ust.hk> wrote on 16/01/2003 11:56:05 AM:

> I see. 
> 
> Is it a good idea to make project.xml inheritance overrideable?
I'd like it, but I don't currently have the time to implement it.

Do you want to take a go?
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au



RE: [Jelly] Need help to run maven tags-build

Posted by Willie Vu <ct...@ust.hk>.
I see.  

Is it a good idea to make project.xml inheritance overrideable?

--
Willie Vu
Center for Enhanced Learning and Training
Hong Kong University of Science and Technology
mailto:ctwillie@ust.hk
 


> -----Original Message-----
> From: dion@multitask.com.au [mailto:dion@multitask.com.au] 
> Sent: Thursday, January 16, 2003 5:36
> To: Jakarta Commons Users List
> Subject: RE: [Jelly] Need help to run maven tags-build
> 
> 
> Because you can't inherit 'some' of the dependencies. If you declare 
> dependencies in your project.xml, that's what you get, the 
> extended and 
> yours don't get 'merged'.
> 
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://www.freeroller.net/page/dion/Weblog
> Work:      http://www.multitask.com.au
> 
> 
> "Willie Vu" <ct...@ust.hk> wrote on 16/01/2003 03:31:50 AM:
> 
> > Since commonDependencies.ent is only referenced in plugin's 
> > project.xml files, I wonder why the dependencies are not put into 
> > tag-project.xml instead?
> > 
> > > -----Original Message-----
> > > From: dion@multitask.com.au [mailto:dion@multitask.com.au]
> > > Sent: Wednesday, January 15, 2003 2:27 PM
> > > To: Jakarta Commons Users List
> > > Cc: turbine-maven-dev@jakarta.apache.org
> > > Subject: Re: [Jelly] Need help to run maven tags-build
> > >
> > >
> > > "Willie Vu" <ct...@ust.hk> wrote on 15/01/2003 01:37:28 PM:
> > >
> > > > I'm using CVS HEAD Maven to build CVS HEAD jelly.  When I run 
> > > > maven tags-build in the <jelly> root directory, I got the 
> > > > following error:
> > > >
> > > > Starting the reactor ...
> > > >
> > > > BUILD FAILED
> > > > ..\..\commonDependencies.ent (The system cannot find the file
> specified)
> > > > Total time:  3 seconds
> > > >
> > > > It looks like the entity reference in tag's project.xml fails to
> > > resolve.
> > > >
> > > > <!ENTITY commonDeps SYSTEM "file:../../commonDependencies.ent">
> > > >
> > > > Any help?
> > > Yep.
> > >
> > > tags-build doesn't work yet :) Because when running the 
> reactor, the 
> > > 'current directory' is the directory you run the reactor 
> from, not 
> > > the directory of the project descriptor.
> > >
> > > Currently, you'll need to build each taglib independently.
> > >
> > > I think that the fix for this is to set the user.dir 
> system property
> in
> > > the reactor tag as it's processing each project, but I 
> haven't had 
> > > the time to work out how to do this in Maven yet.
> > > --
> > > dIon Gillard, Multitask Consulting
> > > Blog:      http://www.freeroller.net/page/dion/Weblog
> > > Work:      http://www.multitask.com.au
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <ma...@jakarta.apache.org>
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> > 
> 
> > ForwardSourceID:NT000A336A
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For 
> additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 
> 


RE: [Jelly] Need help to run maven tags-build

Posted by di...@multitask.com.au.
Because you can't inherit 'some' of the dependencies. If you declare 
dependencies in your project.xml, that's what you get, the extended and 
yours don't get 'merged'.

--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Willie Vu" <ct...@ust.hk> wrote on 16/01/2003 03:31:50 AM:

> Since commonDependencies.ent is only referenced in plugin's project.xml
> files, I wonder why the dependencies are not put into tag-project.xml
> instead?
> 
> > -----Original Message-----
> > From: dion@multitask.com.au [mailto:dion@multitask.com.au]
> > Sent: Wednesday, January 15, 2003 2:27 PM
> > To: Jakarta Commons Users List
> > Cc: turbine-maven-dev@jakarta.apache.org
> > Subject: Re: [Jelly] Need help to run maven tags-build
> >
> >
> > "Willie Vu" <ct...@ust.hk> wrote on 15/01/2003 01:37:28 PM:
> >
> > > I'm using CVS HEAD Maven to build CVS HEAD jelly.  When I run maven
> > > tags-build in the <jelly> root directory, I got the following error:
> > >
> > > Starting the reactor ...
> > >
> > > BUILD FAILED
> > > ..\..\commonDependencies.ent (The system cannot find the file 
specified)
> > > Total time:  3 seconds
> > >
> > > It looks like the entity reference in tag's project.xml fails to
> > resolve.
> > >
> > > <!ENTITY commonDeps SYSTEM "file:../../commonDependencies.ent">
> > >
> > > Any help?
> > Yep.
> >
> > tags-build doesn't work yet :) Because when running the reactor, the
> > 'current directory' is the directory you run the reactor from, not the
> > directory of the project descriptor.
> >
> > Currently, you'll need to build each taglib independently.
> >
> > I think that the fix for this is to set the user.dir system property 
in
> > the reactor tag as it's processing each project, but I haven't had the
> > time to work out how to do this in Maven yet.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog:      http://www.freeroller.net/page/dion/Weblog
> > Work:      http://www.multitask.com.au
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail: 
<ma...@jakarta.apache.org>
> For additional commands, e-mail: 
<ma...@jakarta.apache.org>
> 

> ForwardSourceID:NT000A336A 

RE: [Jelly] Need help to run maven tags-build

Posted by Willie Vu <ct...@ust.hk>.
Since commonDependencies.ent is only referenced in plugin's project.xml
files, I wonder why the dependencies are not put into tag-project.xml
instead?

> -----Original Message-----
> From: dion@multitask.com.au [mailto:dion@multitask.com.au]
> Sent: Wednesday, January 15, 2003 2:27 PM
> To: Jakarta Commons Users List
> Cc: turbine-maven-dev@jakarta.apache.org
> Subject: Re: [Jelly] Need help to run maven tags-build
>
>
> "Willie Vu" <ct...@ust.hk> wrote on 15/01/2003 01:37:28 PM:
>
> > I'm using CVS HEAD Maven to build CVS HEAD jelly.  When I run maven
> > tags-build in the <jelly> root directory, I got the following error:
> >
> > Starting the reactor ...
> >
> > BUILD FAILED
> > ..\..\commonDependencies.ent (The system cannot find the file specified)
> > Total time:  3 seconds
> >
> > It looks like the entity reference in tag's project.xml fails to
> resolve.
> >
> > <!ENTITY commonDeps SYSTEM "file:../../commonDependencies.ent">
> >
> > Any help?
> Yep.
>
> tags-build doesn't work yet :) Because when running the reactor, the
> 'current directory' is the directory you run the reactor from, not the
> directory of the project descriptor.
>
> Currently, you'll need to build each taglib independently.
>
> I think that the fix for this is to set the user.dir system property in
> the reactor tag as it's processing each project, but I haven't had the
> time to work out how to do this in Maven yet.
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://www.freeroller.net/page/dion/Weblog
> Work:      http://www.multitask.com.au
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>