On Tue, 2002-03-26 at 19:25, Sam Ruby wrote:
> Jason van Zyl wrote:
> >
> > I'm making some progress. Gump is using Maven to at least attempt a
> > build but I believe I'm having classloader problems.
> >
> > Maven works by creating an object model of a project and in this
> > particular case the data source is an XML file. I need to instantiate
> > classes in order to make this model but when running under Gump the
> > classloader doesn't seem to be able to find anything.
> >
> > I guess this is more an Ant question but when the sysclasspath=only
> > option is used do tasks have access to that classpath? The classes I
> > need are in the maven.jar which are installed and I can see my logging
> > messages so the attempt is being made but to no avail so far.
> 
> If maven.jar is installed, then make sure that you have a project
> definition for it.  Take a look at any of the other installed packages
> (take a look at http://jakarta.apache.org/builds/gump/latest/packages.html
> for examples).

Yup, I used one of the Sun packages as an example. I believe it is
correct as the stuff generated in the build.sh looks good and there's no
errors when I generate the build.sh file.
 
> > Is there anyway a task can access the sysclasspath, or is this supposed
> > to happen by default? Or are tasks shielded from the sysclasspath?
> 
> I must admit that I don't quite "grok" what you are trying to do.

If I don't do this, no project that uses Maven is going to work with
Gump. I can eventually get rid of circular dep and actually make a
bootstrap that will work for Gump but I would like to try and get this
to work. I think I'm close now.
 
> An installed xalan is used to bootstrap gump, at which point, ant, xerces,
> and xalan are compiled, and these new versions are used in subsequent
> builds.
> 
> Do you envision a similar process?

I plan to make a system where you can select the point in the dependency
graph from which you wish to build from sources. So if you wanted to
start with Ant then you can. But for my normal mode of operation I will
probably pick a point higher up in the graph where I might only, say,
build all the Turbine projects from source against everything else in
binary form below that point in the graph. To me it's more a matter of
configuration for what you want to do. Most of the time I won't build
ant from scratch but there won't be anything to stop you from doing so.

For example, a company may have a set of projects they wish to cycle
through continuously building those from source and assuming stability
in the projects they depend on. But you would like to build from sources
all the time. The same tool can do both things.

> - Sam Ruby
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to