Discussion:
[Middlegen-user] Can't get a compiled middlegen: HTTP distrib is basically empty, latest CVS don't build.
ilker
2002-04-29 16:38:05 UTC
Permalink
Hello fellows,

BACKGROUND:
==========
First of all, let me say, I solute you Aslak.
I'm relatively new guy(hence my solute may not be that valuable), and
doing this on my own time(like midnights), but I pick up things
relatively quick (I think :) ). For example I picked up some basic parts
of CVS, ant, middlegen ...in last 3 nights (though my wife thinks I'm
crazy).


WHAT I WANT TO DO:
=================
Among other things, I want to use middlegen + xdoclet + jboss(3.0) +
mysql and do CMP2.0 EJB
things. I started with a simple case of:
Customer(1)----to---->Address(many) ,
Customer(many)----to---->Subscription(many) (via customer_subscription
relationship table) type
relationship problem. Then I want to do other things.


PROBLEM:
=======
I have read about middlegen and exitedly wanted to use it.
But can't even get the application.

I) When I tried to use the "latest distribution via HTTP" for 1.0, there
was basically nothing. Also the
previous Beta(that is not corrupt) has more stuff than 1.0. Is it
possible to have a snap shot of
things(like 1.0 or 1.2) that are build so that one can hope to start
using it with HTTP distribution?


II) Then I checkedout the "latest distribution from CVS", but it don't
build.
1) It seems the "JavaStyle.jar" and "pretty.jar" are missing from lib
directory for "pretty" part of the build to work. Just downloading
"JavaStyle.jar" to lib didn't got ridd of problem of "classname
org.acm.seguin.ant.Pretty not found". Are there missing jars in
lib?
2) When I skipped execution of "pretty" part of build (by changing
pretty.on definition with
pretty.off), I get "jikes compilation failed" (I'm using JDK_1.3_..). Do
the latest version in CVS( I checkedout everything last night 4/28/02)
build(compile)?


SUMMARY:
========
Can you folks help me to get a compiled middlegen ?


Regards,
-- Ilker
Hendrik Bohlen
2002-04-30 04:55:05 UTC
Permalink
Hi there,
Post by ilker
I get "jikes compilation failed" (I'm using JDK_1.3_..). Do
the latest version in CVS( I checkedout everything last night 4/28/02)
build(compile)?
I had problems to compile middlegen with JDK 1.3 either, compiling with
JDK 1.4 is fine.
In the main build.xml (not the file in the samples directory) i
commented out the following line:
<!--property name="build.compiler" value="jikes"/--> (no
other compiler entry inserted)
After I did that, middlegen compiled with the JDK 1.4 (entry in your
path is neccessary).

Regards
Hendrik
--
Hendrik Bohlen, Dipl.-Inform.
Werum Software & Systems AG

mailto:***@werum.de | http://www.werum.de
Aslak Hellesoy
2002-05-01 18:25:09 UTC
Permalink
Hi Ilker,
-----Original Message-----
Sent: 29. april 2002 20:23
Subject: [Middlegen-user] Can't get a compiled middlegen: HTTP distrib
is basically empty, latest CVS don't build.
Hello fellows,
==========
First of all, let me say, I solute you Aslak.
I'm relatively new guy(hence my solute may not be that valuable), and
doing this on my own time(like midnights), but I pick up things
relatively quick (I think :) ). For example I picked up some basic parts
of CVS, ant, middlegen ...in last 3 nights (though my wife thinks I'm
crazy).
=================
Among other things, I want to use middlegen + xdoclet + jboss(3.0) +
mysql and do CMP2.0 EJB
Customer(1)----to---->Address(many) ,
Customer(many)----to---->Subscription(many) (via customer_subscription
relationship table) type
relationship problem. Then I want to do other things.
=======
I have read about middlegen and exitedly wanted to use it.
But can't even get the application.
I) When I tried to use the "latest distribution via HTTP" for 1.0, there
was basically nothing. Also the
2500 people have downloaded Middlegen 1.0 from
http://prdownloads.sourceforge.net/middlegen/middlegen.1.0.zip (from this
page: http://sourceforge.net/project/showfiles.php?group_id=36044).

Can you elablorate on what you mean by "there was basically nothing"? There
is 1.5 megs in there.
previous Beta(that is not corrupt) has more stuff than 1.0. Is it
possible to have a snap shot of
things(like 1.0 or 1.2) that are build so that one can hope to start
using it with HTTP distribution?
II) Then I checkedout the "latest distribution from CVS", but it don't
build.
1) It seems the "JavaStyle.jar" and "pretty.jar" are missing from lib
directory for "pretty" part of the build to work. Just downloading
"JavaStyle.jar" to lib didn't got ridd of problem of "classname
org.acm.seguin.ant.Pretty not found". Are there missing jars in
lib?
jrefactory.jar has been there for a couple of months:
http://cvs.middlegen.sourceforge.net/cgi-bin/viewcvs.cgi/middlegen/middlegen
/lib/#dirlist
2) When I skipped execution of "pretty" part of build (by changing
pretty.on definition with
pretty.off), I get "jikes compilation failed" (I'm using JDK_1.3_..). Do
the latest version in CVS( I checkedout everything last night 4/28/02)
build(compile)?
Something must have gone wrong when you downloaded from CVS. If what you
downloaded doesn't match the ViewCVS, then the error is on your side.
========
Can you folks help me to get a compiled middlegen ?
Hope this helps.

Cheers,
Aslak
Regards,
-- Ilker
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Aslak Hellesoy
2002-05-01 18:25:39 UTC
Permalink
Middlegen should compile fine using both JDK 1.3.1 and JDK 1.4.0 (That's
what I'm testing it on). You shouldn't need to change anything.

I have removed the jikes dependency too.

If you still have problems compiling (do a CVS update first), then some
error messages and OS info would help...

Cheers
Aslak
-----Original Message-----
Bohlen
Sent: 30. april 2002 08:55
Subject: Re: [Middlegen-user] Can't get a compiled middlegen
Hi there,
Post by ilker
I get "jikes compilation failed" (I'm using JDK_1.3_..). Do
the latest version in CVS( I checkedout everything last night 4/28/02)
build(compile)?
I had problems to compile middlegen with JDK 1.3 either, compiling with
JDK 1.4 is fine.
In the main build.xml (not the file in the samples directory) i
<!--property name="build.compiler" value="jikes"/--> (no
other compiler entry inserted)
After I did that, middlegen compiled with the JDK 1.4 (entry in your
path is neccessary).
Regards
Hendrik
--
Hendrik Bohlen, Dipl.-Inform.
Werum Software & Systems AG
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...