[ http://nagoya.apache.org/jira/browse/GERONIMO-498?page=history ]
Rodrigo S. de Castro updated GERONIMO-498:
------------------------------------------
Attachment: module-j2ee-compilation.patch
This is a patch that fixes the modules/j2ee/project.xml file by adding the
dependencies that are needed for the J2EE module compilation. In order to apply
it, you may use the following command in the Geronimo working copy directory:
/path/to/geronimo> patch -p0 -i /path/to/patch/module-j2ee-compilation.patch
It was tested against Subversion code as of Nov 23rd 2004.
> Build fails for J2EE module
> ---------------------------
>
> Key: GERONIMO-498
> URL: http://nagoya.apache.org/jira/browse/GERONIMO-498
> Project: Apache Geronimo
> Type: Bug
> Components: buildsystem
> Versions: 1.0-M4
> Environment: Linux [Debian], Geronimo HEAD (updated as of Nov 23rd 2004)
> Reporter: Rodrigo S. de Castro
> Attachments: module-j2ee-compilation.patch
>
> When compiling module J2EE ("maven m:default" or "maven -Dmodules=j2ee"), we
> have compilation errors, that are pasted below. There are two missing
> dependencies for this module: geronimo-spec-ejb and
> geronimo-spec-j2ee-management.
> java:compile:
> [depend] Deleted 0 out of date files in 0 seconds
> [echo] Compiling to
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/target/classes
> [javac] Compiling 20 source files to
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/target/classes
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:23:
> package javax.ejb does not exist
> import javax.ejb.EJBHome;
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:24:
> package javax.ejb does not exist
> import javax.ejb.EJBObject;
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:25:
> package javax.ejb does not exist
> import javax.ejb.Handle;
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:26:
> package javax.ejb does not exist
> import javax.ejb.RemoveException;
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:47:
> package javax.management.j2ee does not exist
> import javax.management.j2ee.ListenerRegistration;
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:48:
> package javax.management.j2ee does not exist
> import javax.management.j2ee.Management;
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:63:
> cannot resolve symbol
> symbol : class Management
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> public class MEJB implements Management, ListenerRegistration {
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:63:
> cannot resolve symbol
> symbol : class ListenerRegistration
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> public class MEJB implements Management, ListenerRegistration {
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:186:
> cannot resolve symbol
> symbol : class ListenerRegistration
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> public ListenerRegistration getListenerRegistry() throws RemoteException {
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:214:
> cannot resolve symbol
> symbol : class EJBHome
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> public EJBHome getEJBHome() throws RemoteException {
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:218:
> cannot resolve symbol
> symbol : class Handle
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> public Handle getHandle() throws RemoteException {
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:226:
> cannot resolve symbol
> symbol : class EJBObject
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> public boolean isIdentical(EJBObject obj) throws RemoteException {
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:230:
> cannot resolve symbol
> symbol : class RemoveException
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> public void remove() throws RemoteException, RemoveException {
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:286:
> cannot resolve symbol
> symbol : class Management
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> infoBuilder.addInterface(Management.class);
> ^
> /home/rcastro/projetos/geronimo/geronimo/modules/j2ee/src/java/org/apache/geronimo/j2ee/mejb/MEJB.java:287:
> cannot resolve symbol
> symbol : class ListenerRegistration
> location: class org.apache.geronimo.j2ee.mejb.MEJB
> infoBuilder.addInterface(ListenerRegistration.class);
> ^
> 15 errors
> BUILD FAILED
> File......
> /home/rcastro/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [default] --
> /home/rcastro/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48:
> <ant:javac> Compilefailed; see the compiler error output for details.
> Total time: 15 seconds
> Finished at: Tue Nov 23 17:18:55 BRST 2004
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira