hello,

I'm writing a plugin for creating netbeans modules using maven.
One part of it doens't work for me. I'm using netbeans own ant tasks to generate the files.
One of the tasks requires a javax.xml.transform.TransformerFactory for the file generation.
I was not able to put xalan of the classpath of the task.
The only way I succeed was to put the xalan's factory impl on the maven startup into the system property (maven --offline -Djavax.xml.transform.TransformerFactory=<impl name> nbm)


what I tried:
I added the xalan jar as dependency.
I added it on the <classloader>root></classloader>
I tried something along these lines in the taks definition:
<ant:taskdef name="genlist" classname="org.netbeans.nbbuild.MakeListOfNBM" >
<ant:classpath>
<ant:pathelement location="${plugin.getDependencyPath('xalan:xalan')}"/>
<ant:pathelement location="${plugin.getDependencyPath('netbeans:nbantext')}"/>
<ant:path refid="maven.dependency.classpath"/>
</ant:classpath>
</ant:taskdef>


nothing of this works. Any idea?

thank you very much.

Milos Kleint

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



Reply via email to