Hi Christophe,
The mere fact your working on the cvs head you probably know a great
deal more than I do about this stuff, all the same heres my 2cents
worth:
If the directories your build is complaining about don't exist did the
build really go fine prior to the examples? Did the last releases build
cleanly for you? (Guess we can expect the source head to be broken from
time to time as development progresses).
Don't know if this helps but the last build I did was for jonas-2-3-1
just after upgrading to cygwin 1.3.2(0.39/3/2). I had a problem with
config_env not setting the delimiters in my classpath correctly. How
does "make env" report your classpath?
Some time ago cygwin changed the value of $OSTYPE from "cygwin32" to
"cygwin". Apparently this broke the build process for many other
packages as well, refer to cygwin mailing lists for details.
To build Jonas I replaced all occurrences of "cygwin32" with "cygwin" in
the source. (only about three or five files). I remember reading
somewhere OSTYPE was going to remain set to cygwin in the future so
perhaps it is a good time to have Jonas makefiles modified, or somehow
test for either (or build with ant...)
In addition I found items in my classpath being delimited by "\;" rather
than ";". Jikes complains bitterly about this, don't know about javac.
Either way I couldn't see any purpose for that leading "\" so changed
"PS=\;" to "PS=;" within $OBJECTWEB_HOME/jonas/gmk/config.mk.
The only other thing I had to do to get the build running smoothly was
install unix2dos, found a copy at
ftp://ftp.guug.org/pub/unix2dos-1.2.tar.gz.
If you find this corrects you problems please advise, would be nice to
know its not just my unique environment causing my problems and we can
chat to the Jonas team to have the build process modified.
Regards,
Calvin.
P.S. sorry if you have any follow up questions I'm not responding to -
I'm just off on holiday for two weeks.
----- Original Message -----
From: "Christophe Ney" <[EMAIL PROTECTED]>
To: "Jonas-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 12:35 AM
Subject: pb compiling CVS head with cygwin.
Hi guys,
I am trying to compile jonas from CVS tree HEAD with Cygwin
on Win2k.
Compilation goes fine until I compile the examples.
The failure seems to comes from GenIC jar access.
Has anyone seen this?
thanks,
Christophe
Christophe Ney - mailto:[EMAIL PROTECTED]
Enhydra Project - http://www.enhydra.org
Lutris Technologies - http://www.lutris.com
$ pwd
/home/Jonas/jonas-head/objectweb/jonas/output/examples
$ make
/home/Jonas/jonas-head/objectweb/jonas/output/config: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/src/sb: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/classes: not
found
+ /jdk1.2.2/bin/javac -d ../../classes Op.java OpBean.java OpHome.java
ClientOp.
java
/home/Jonas/jonas-head/objectweb/jonas/output/config: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/src/sb: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/classes: not
found
+ /home/Jonas/jonas-head/objectweb/jonas/output/bin/unix/GenIC -d
../../classes
-keepgenerated -keepgenerated ejb-jar.xml
GenIC for JOnAS 2.3.1: Bean 'Op' generation...
>../../classes/sb/ejb-jar.genic_xml_output
/home/Jonas/jonas-head/objectweb/jonas/output/config: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/src/sb: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/classes: not
found
+ /jdk1.2.2/bin/javac -d ../../classes Account.java AccountBeanPK.java
AccountEx
plBean.java AccountHome.java AccountImplBean.java ClientAccount.java
/home/Jonas/jonas-head/objectweb/jonas/output/config: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/src/sb: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/classes: not
found
+ /home/Jonas/jonas-head/objectweb/jonas/output/bin/unix/GenIC -d
../../classes
-keepgenerated -keepgenerated ejb-jar.xml
GenIC for JOnAS 2.3.1: Bean 'AccountExpl' generation...
GenIC for JOnAS 2.3.1: Bean 'AccountImpl' generation...
>../../classes/eb/ejb-jar.genic_xml_output
/home/Jonas/jonas-head/objectweb/jonas/output/config: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/src/sb: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/classes: not
found
+ /jdk1.2.2/bin/javac -d ../../classes MsgReceptor.java EjbComp.java
EjbCompBean
.java EjbCompHome.java EjbCompClient.java
/home/Jonas/jonas-head/objectweb/jonas/output/config: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/src/sb: not found
/home/Jonas/jonas-head/objectweb/jonas/output/examples/classes: not
found
+ /home/Jonas/jonas-head/objectweb/jonas/output/bin/unix/GenIC -d
../../classes
-keepgenerated -keepgenerated EjbComp.xml
GenIC for JOnAS 2.3.1: Bean 'EjbComp' generation...
>../../classes/jms/EjbComp.genic_xml_output
+ /jdk1.2.2/bin/javac -d ../../../classes MdbBean.java MdbClient.java
cp run.sh ../../../classes/samplemdb/run
chmod a+x ../../../classes/samplemdb/run
+ /home/Jonas/jonas-head/objectweb/jonas/output/bin/unix/GenIC -d
../../../class
es -keepgenerated -keepgenerated Mdb.xml
GenIC for JOnAS 2.3.1: MessageDriven Bean 'Mdb'
>../../../classes/samplemdb/Mdb.genic_xml_output
+ /jdk1.2.2/bin/javac -d ../../../classes Env.java EnvBean.java
EnvHome.java Sto
ck.java StockBean.java StockHome.java StockHandlerBean.java
OrderBean.java
Sampl
eAppliClient.java
+ /home/Jonas/jonas-head/objectweb/jonas/output/bin/unix/GenIC -d
../../../class
es -keepgenerated sampleappli.xml
GenIC for JOnAS 2.3.1: Bean 'Env' generation...
GenIC for JOnAS 2.3.1: Bean 'Stock' generation...
GenIC for JOnAS 2.3.1: MessageDriven Bean 'StockHandler'
GenIC for JOnAS 2.3.1: MessageDriven Bean 'Order'
>../../../classes/sampleappli/sampleappli.genic_xml_output
+ /jdk1.2.2/bin/javac -d ../../../../../classes Op.java OpBean.java
OpHome.java
+ /jdk1.2.2/bin/jar cvf org/objectweb/secusb/secusb.jar
META-INF/ejb-jar.xml MET
A-INF/jonas-ejb-jar.xml org/objectweb/secusb/Op.class
org/objectweb/secusb/OpBea
n.class org/objectweb/secusb/OpHome.class
added manifest
adding: META-INF/ejb-jar.xml(in = 1018) (out= 355)(deflated 65%)
adding: META-INF/jonas-ejb-jar.xml(in = 185) (out= 115)(deflated 37%)
adding: org/objectweb/secusb/Op.class(in = 263) (out= 206)(deflated 21%)
adding: org/objectweb/secusb/OpBean.class(in = 1201) (out= 629)(deflated
47%)
adding: org/objectweb/secusb/OpHome.class(in = 315) (out= 225)(deflated
28%)
+ /home/Jonas/jonas-head/objectweb/jonas/output/bin/unix/GenIC -d
../../../../..
/classes -secpropag -keepgenerated
../../../../../classes/org/objectweb/secusb/s
ecusb.jar
GenIC for JOnAS 2.3.1: Bean 'Op' generation...
java.io.IOException: Error in writing existing jar file
at sun.tools.jar.Main.run(Main.java:178)
at sun.tools.jar.Main.main(Main.java:778)
GenIC ERROR: Failed when including the generated classesin the given
ejb-jar fil
e '../../../../../classes/org/objectweb/secusb/secusb.jar'.
make[3]: *** [../../../../../classes/org/objectweb/secusb/secusb.jar]
Error 2
make[2]: *** [all] Error 2
make[2]: *** No rule to make target `all'. Stop.
make[1]: *** [all] Error 2
make: *** [all] Error 2
$
Christophe Ney - mailto:[EMAIL PROTECTED]
Enhydra Project - http://www.enhydra.org
Lutris Technologies - http://www.lutris.com
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".