I also prefer to find a fix for everybody in the 1.4.X without to have
to create a branch. But it depends if there's really a bug in jalopy
1.5b5 or if this is a bug in our plugin. Did you try some others
jalopy beta  ?

For the problem of dependencies it's due to the classloader hierarchy
in maven 1.X
In maven 1.X we have two classloaders :
[root]
    ${tools.jar}
    ${maven.home}/lib/ant-*.jar
    ${maven.home}/lib/commons-logging-1.0.4.jar
    ${maven.home}/lib/log4j-1.2.12.jar

[root.maven]
    ${maven.home}/lib/*.jar

All dependencies are loaded by default in the root.maven classloader
which is a child of the root classloader.
Ant can't find a class in the root.maven classloader. It's why you
need to load in the root classloader all the classes used by the ant
tasks.

Arnaud

On 2/11/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On 2/10/06, Lukas Theussl <[EMAIL PROTECTED]> wrote:
>
> > My preference is definetely to get the current development version
> > working and ready for inclusion in m1.1. I thought you had resolved your
> > problems with the 1.3 release by specifying the root class loader?
>
> No, I haven't gotten 1.3 to work at all.  What needs to be in the root
> classloader?  1.4.1-SNAPSHOT only has jalopy and jalopy-ant there, and
> it works.  (At least, it runs without errors, though Jalopy 1.5b5 is
> doing strange things to the struts-action code.)
>
> Either working forward from 1.3.1 or backward from 1.4.1-SNAPSHOT, if I add
>    <properties><classloader>root</classloader></properties>
> to the dependencies, I still always get NoClassDefFound, and sometimes
> a ClassCastException and stack trace before that, depending on what
> combination of dependencies I add it to.
>
> Here's the latest patch and result:
>    http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/Jalopy
>
> > When I asked for help I was mainly thinking about testing and feedback,
> > but then again, you volunteer for whatever you want to ... ;)
>
> Just checking. ;)  Jelly and I never got along very well; I doubt I'd
> be much help with the plugin itself.  But as long as Struts is still
> using Maven 1.0.2, I'm happy to test snapshots and make sure they
> still work as you prepare for Maven 1.1.
>
> Thanks for your help,
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to