Hi I've got a BIG problem with maven-antrun-plugin and a classloader from workshop.core.AppClassLoader from knex.jar (Weblogic). When I was using ant, i'd to add:
-client -Djava.system.class.loader="workshop.core.AppClassLoader" -classpath "%LOCALCLASSPATH%;%BEA_HOME%\weblogic81\workshop\wlw-ide.jar;%BEA_HOME%\weblogic81\server\lib\weblogic.jar" to my ant.bat to make my project work. when i'm adding this to my mvn.bat, i can't use maven-antrun-plugin. I'm having this exception: Caused by: java.lang.NullPointerException at org.apache.tools.ant.Task.log(Task.java:324) at com.bea.wlw.runtime.core.ear.WebAppBuildTask.execute(WebAppBuildTask.java:241) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:123) ... 31 more it's quite strange that error is at org.apache.tools.ant.Task.log(Task.java:324). I'm using WebAppBuildTask that needs workshop.core.AppClassLoader. I don't know what to do? Please HELP!!! Pozdrawiam Sebastian BÅ‚och