DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33882>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33882





------- Additional Comments From [EMAIL PROTECTED]  2005-03-10 05:15 -------
(In reply to comment #2)
> Have you tried <factoryclasspath>

Firstly it is factoryPathRef so ..

<path id="factory.path">
    <fileset dir="../ejb3/dest/">
      <include name="ejbFactory.jar"/>
    </fileset>
  </path>
 <apt fork="no" srcdir="." destdir="build"
classpath="/home/newdave/jboss/ejb3x/output/lib/jboss-ejb3x.jar:/home/newdave/jboss/j2ee/output/lib/jboss-j2ee.jar"
factory="com.theappman.annotation.BusinessMethodFactory"
factoryPathRef="factory.path">
      <include name="com/theappman/followup/**"/>
    </apt>

Output ..
 [apt] An exception has occurred in apt (1.5.0_01). Please file a bug at the
Java Deve loper Connection (http://java.sun.com/webapps/bugreport)  after
checking the Bug Parade for  duplicates. Include your program and the following
diagnostic in your report.  Thank you.
      [apt] java.lang.NoClassDefFoundError:
com/sun/mirror/apt/AnnotationProcessorFactory
      [apt]     at java.lang.ClassLoader.defineClass1(Native Method)
      [apt]     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      [apt]     at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      [apt]     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      [apt]     at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      [apt]     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      [apt]     at java.security.AccessController.doPrivileged(Native Method)
      [apt]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      [apt]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      [apt]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      [apt]     at com.sun.tools.apt.comp.Apt.main(Apt.java:287)
      [apt]     at
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:458)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:1075)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:938)
      [apt]     at com.sun.tools.apt.Main.processing(Main.java:95)
      [apt]     at com.sun.tools.apt.Main.process(Main.java:43)
      [apt]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [apt]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
      [apt]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
      [apt]     at java.lang.reflect.Method.invoke(Method.java:585)
      [apt]     at
org.apache.tools.ant.taskdefs.compilers.AptCompilerAdapter.execute(AptCo
mpilerAdapter.java:114)
      [apt]     at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:932)
      [apt]     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
      [apt]     at org.apache.tools.ant.taskdefs.Apt.execute(Apt.java:261)
      [apt]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [apt]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [apt]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
      [apt]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
      [apt]     at java.lang.reflect.Method.invoke(Method.java:585)
      [apt]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1 04)
      [apt]     at org.apache.tools.ant.Task.perform(Task.java:365)
      [apt]     at org.apache.tools.ant.Target.execute(Target.java:341)
      [apt]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [apt]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1207)
      [apt]     at org.apache.tools.ant.Project.executeTarget(Project.java:1176)
      [apt]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut 
or.java:37)
      [apt]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1059)
      [apt]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
      [apt]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
      [apt]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:245)
      [apt]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:66)



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to