You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by mjohnsonaz74 <mj...@hotmail.com> on 2006/05/26 19:13:58 UTC

[M2] Using Antlib with Weblogic 9.1

I'm trying to use antlib with Weblogic 9.1.  I didn't have any issues when
using it with Weblogic 8.1 so I'm not sure what changed in 9.1 that's giving
me this problem.  My task looks like this:

 <artifact:pom file="pom.xml" id="maven.project"/> 
          
  <artifact:dependencies pathId="dependency.classpath">
    <pom refid="maven.project" /> 
  </artifact:dependencies>

 <target name="compile" description="Only compiles pm application, no appc">
	<echo message="${java.class.path}"/>
      <wlcompile srcdir="${src.dir}" destdir="${dest.dir}"
         includes="ejbs"
         classpath="${java.class.path}">
         <classpath refid="dependency.classpath"/>
         <javac debug="true"/>
    </wlcompile>

    <wlcompile srcdir="${src.dir}" destdir="${dest.dir}"
       includes="webApp"
       classpath="${java.class.path};
      ${dest.dir}/ejbs">
         <javac debug="true" />
    </wlcompile>
  </target>

When I run this I get the following error message:

BUILD FAILED
build.xml:170: java.lang.NullPointerException

Has anyone had an issue similar to this when migrating from 8.1 to 9.1
--
View this message in context: http://www.nabble.com/-M2-+Using+Antlib+with+Weblogic+9.1-t1688017.html#a4580298
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org