dev@glassfish.java.net

GlassFish CORBA Build problem, can I build from CVS?

From: Wonseok Kim <guruwons_at_gmail.com>
Date: Fri, 13 Jul 2007 19:26:43 +0900

Resending to GlassFish dev list...

---------- Forwarded message ----------
From: Wonseok Kim <guruwons_at_gmail.com>
Date: Jun 21, 2007 10:46 PM
Subject: Build problem, can I build from CVS?
To: dev_at_glassfish-corba.dev.java.net

Hi GlassFish CORBA team,

I'm having problems in building from CVS. -.-;

After I checked out(in Linux) first time, I went to make directory and do
like following as the documentation, but no luck.

https://glassfish-corba.dev.java.net/design/orb_notes.html#htoc9 says:
   1. cd <ws>/make
   2. gnumake -f Makefile.corba renameonly
   3. cd <ws>/build/rename/ee/make
   4. ant build
   5. gnumake -f Makefile.corba verifyall (to run all tests) (or ant test,
in GlassFish-CORBA)

$ make -f Makefile.corba renameonly
make: *** No rule to make target `renameonly'. Stop.

There is only rename target in the Makefile. So I had to like below. Please
update the documentation for newbie like me. :(

$ export PKG_VERSION=ee
$ make -f Makefile.corba rename

Second problem occurs when I do "ant build" like below.

check-jmk-files:

call-jmk-checker:
     [echo] Running jmk file checker
     [java] Error in .jmk file: Files that are in the workspace but not in
com_sun_corba_ee_impl_logging.jmk
     [java] com/sun/corba/ee/impl/logging/LogWrapperCacheImpl.java

BUILD FAILED
/home/wons/works/glassfish/glassfish-corba/build/rename/ee/make/build.xml:211:
The following error occurred while executing this line:
/home/wons/works/glassfish/glassfish-corba/build/rename/ee/make/build.xml:201:
Java returned: 1

What is jmk file? The com_sun_corba_ee_impl_logging.jmk file definitely does
not have the reported file which exist in the CVS as the error message.

GlassFish CORBA looks very unfriendly to build.

Regards,
Wonseok