>From: David Jencks <[EMAIL PROTECTED]>
>To: marc fleury <[EMAIL PROTECTED]>
>CC: Jason Dillon <[EMAIL PROTECTED]>, Jung Christoph
><[EMAIL PROTECTED]>, jboss-dev
><[EMAIL PROTECTED]>
>Subject: Re: [JBoss-dev] JBoss/.Net plugin broken...
>Date: Sat, 23 Feb 2002 11:32:49 -0500
>
>I wrote an xdoclet deployer but have so far completely failed to get it to
>work at all. I think that it is due to classloader problems with javadoc
>and ant. XDoclet passes configuration info past javadoc in a serialized
>file, and for reasons I don't understand, when I run ant from within my
>deployer, when the doclet tries to deserialize the objects, it can't find
>the classes. Apparently xjavadoc will eliminate the need to pass the
>config info around javadoc, but it isn't ready yet. There may also be
>issues around ant's classloading scheme running inside jboss. If only ant
>was built on jmx;-((.
>
>Suggestions, help, etc, welcome.
If you are having classloader issuses, I would recomend booting JBoss with
the new Boot class (use the boot.bat in /bin). Then if you want to execute
ant outside of jboss'es classloaders, you can by doing something like:
Boot b = Boot.getInstance();
Boot.ApplicationBoot ab = b.createApplicationBoot();
ab.applicationClass = "org.jboss.Main"
ab.classpath.add(new URL("file:run.jar"));
ab.args.add("default");
// this would start the application in a new thread.
b.startApplication( ab );
// Would boot the appp in the current thread.
ab.boot();
Regards,
Hiram
>
>david jencks
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development