Discussion:
[Middlegen-user] Fw: middlegen gui doesn't come up
p***@na.nykline.com
2007-08-17 21:44:35 UTC
Permalink
Hi,
I am following this tutorial :
http://www.warfrog.com/hibernatetutorial

I am using middlegen : Middlegen-Hibernate-r5.zip which is the latest
version unlike what has been used in the tutorial.
My jdk is 1.5

However, when I type : ant middlegen (as given in the tutorial), the
middlegen GUI does not come up.
Can anybody give some idea how to correct this problem ?

thanx'n regards,
Prashant Bhardwaj
Rajeev Mittal
2007-08-18 05:55:36 UTC
Permalink
I have not followed this tutorial but looking at the ant task
(setup-middlegen), it does not appear that the gui should start as
this task is just copying the files in proper structure.

Unless I am missing something, the tutorial ask to start gui using:
Launch a command prompt to c:\hibernatetutorial\lib\hsqldb
directory.
Launch the HSQLDB GUI by typing "java -cp hsqldb.jar
org.hsqldb.util.DatabaseManager"

Hope this gets you going.

Raj
Post by p***@na.nykline.com
Hi,
http://www.warfrog.com/hibernatetutorial
I am using middlegen : Middlegen-Hibernate-r5.zip which is the
latest
version unlike what has been used in the tutorial.
My jdk is 1.5
However, when I type : ant middlegen (as given in the tutorial),
the
middlegen GUI does not come up.
Can anybody give some idea how to correct this problem ?
thanx'n regards,
Prashant Bhardwaj>
-------------------------------------------------------------------------
Post by p***@na.nykline.com
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/>
_______________________________________________
Post by p***@na.nykline.com
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
e***@colargol.tihlde.org
2007-08-20 14:28:12 UTC
Permalink
Try setting the gui parameter to true:

ant -Dgui=true middlegen

This can be specified in the build.xml file as well:
http://boss.bekk.no/boss/middlegen/ant/index.html#gui

.e
Post by Rajeev Mittal
I have not followed this tutorial but looking at the ant task
(setup-middlegen), it does not appear that the gui should start as
this task is just copying the files in proper structure.
Launch a command prompt to c:\hibernatetutorial\lib\hsqldb
directory.
Launch the HSQLDB GUI by typing "java -cp hsqldb.jar
org.hsqldb.util.DatabaseManager"
Hope this gets you going.
Raj
Post by p***@na.nykline.com
Hi,
http://www.warfrog.com/hibernatetutorial
I am using middlegen : Middlegen-Hibernate-r5.zip which is the
latest
version unlike what has been used in the tutorial.
My jdk is 1.5
However, when I type : ant middlegen (as given in the tutorial),
the
middlegen GUI does not come up.
Can anybody give some idea how to correct this problem ?
thanx'n regards,
Prashant Bhardwaj>
-------------------------------------------------------------------------
Post by p***@na.nykline.com
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/>
_______________________________________________
Post by p***@na.nykline.com
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated
for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
p***@na.nykline.com
2007-08-26 21:16:08 UTC
Permalink
Tried. doesn't work.
I saw that the build.xml already has the required attribute set for gui.
Any idea, anyone ?
Following is the log generated :
D:\hibernatetutorial\apps\middlegen\Middlegen-Hibernate-r5>ant
-Ddatabase.schema
=PUBLIC middlegen
Buildfile: build.xml

init:

fail-if-no-xdoclet-1.2:

check-driver-present:
[echo] database.driver.file =
D:\hibernatetutorial\apps\middlegen\Middlegen
-Hibernate-r5/lib/hsqldb-1.7.1.jar
[echo] driver.present = ${driver.present}
[echo] gui = true

panic-if-driver-not-present:

middlegen:
[echo] Class path =
D:\hibernatetutorial\apps\middlegen\Middlegen-Hibernate
-r5
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
simple
->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
java->
middlegen.javax.JavaPlugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
plugin
->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
hibern
ate->middlegen.plugins.hibernate.HibernatePlugin
[middlegen] Database URL:jdbc:hsqldb:hsql://localhost
[middlegen] (middlegen.MiddlegenPopulator 1048)
databaseProductName=HSQL
Database Engine
[middlegen] (middlegen.MiddlegenPopulator 1049)
databaseProductVersion=1.
7.1
[middlegen] (middlegen.MiddlegenPopulator 1050) driverName=HSQL
Database
Engine Driver
[middlegen] (middlegen.MiddlegenPopulator 1051) driverVersion=1.7.1
[middlegen] (middlegen.MiddlegenPopulator 1052) schema=PUBLIC
[middlegen] (middlegen.MiddlegenPopulator 1053) catalog=
[middlegen] (middlegen.MiddlegenPopulator 1169) -- tables --

After this line it just stops and doesn't give any error.

thanx'n regards,
Prashant Bhardwaj



***@colargol.tihlde.org
Sent by: middlegen-user-***@lists.sourceforge.net
08/20/2007 10:28 AM
Please respond to
middlegen-***@lists.sourceforge.net


To
middlegen-***@lists.sourceforge.net
cc

Subject
Re: [Middlegen-user] Fw: middlegen gui doesn't come up






Try setting the gui parameter to true:

ant -Dgui=true middlegen

This can be specified in the build.xml file as well:
http://boss.bekk.no/boss/middlegen/ant/index.html#gui

.e
Post by Rajeev Mittal
I have not followed this tutorial but looking at the ant task
(setup-middlegen), it does not appear that the gui should start as
this task is just copying the files in proper structure.
Launch a command prompt to c:\hibernatetutorial\lib\hsqldb
directory.
Launch the HSQLDB GUI by typing "java -cp hsqldb.jar
org.hsqldb.util.DatabaseManager"
Hope this gets you going.
Raj
Post by p***@na.nykline.com
Hi,
http://www.warfrog.com/hibernatetutorial
I am using middlegen : Middlegen-Hibernate-r5.zip which is the
latest
version unlike what has been used in the tutorial.
My jdk is 1.5
However, when I type : ant middlegen (as given in the tutorial),
the
middlegen GUI does not come up.
Can anybody give some idea how to correct this problem ?
thanx'n regards,
Prashant Bhardwaj>
-------------------------------------------------------------------------
Post by Rajeev Mittal
Post by p***@na.nykline.com
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/>
_______________________________________________
Post by p***@na.nykline.com
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
____________________________________________________________________________________
Post by Rajeev Mittal
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
updated
Post by Rajeev Mittal
for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
-------------------------------------------------------------------------
Post by Rajeev Mittal
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
e***@colargol.tihlde.org
2007-08-28 06:37:32 UTC
Permalink
Hmm. Hard to tell. Is it a very large database? It could be a memory
problem. Search for 'memory' on this page:
http://www.hibernate.org/98.html

If you want to generate hibernate mappings you should check out Hibernate
Tools instead (http://www.hibernate.org/255.html). Middlegen isen't really
maintained anymore..

.e
Post by p***@na.nykline.com
Tried. doesn't work.
I saw that the build.xml already has the required attribute set for gui.
Any idea, anyone ?
D:\hibernatetutorial\apps\middlegen\Middlegen-Hibernate-r5>ant
-Ddatabase.schema
=PUBLIC middlegen
Buildfile: build.xml
[echo] database.driver.file =
D:\hibernatetutorial\apps\middlegen\Middlegen
-Hibernate-r5/lib/hsqldb-1.7.1.jar
[echo] driver.present = ${driver.present}
[echo] gui = true
[echo] Class path =
D:\hibernatetutorial\apps\middlegen\Middlegen-Hibernate
-r5
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
simple
->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
java->
middlegen.javax.JavaPlugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
plugin
->middlegen.Plugin
[middlegen] (middlegen.Middlegen 350 ) Registering plugin
hibern
ate->middlegen.plugins.hibernate.HibernatePlugin
[middlegen] Database URL:jdbc:hsqldb:hsql://localhost
[middlegen] (middlegen.MiddlegenPopulator 1048)
databaseProductName=HSQL
Database Engine
[middlegen] (middlegen.MiddlegenPopulator 1049)
databaseProductVersion=1.
7.1
[middlegen] (middlegen.MiddlegenPopulator 1050) driverName=HSQL
Database
Engine Driver
[middlegen] (middlegen.MiddlegenPopulator 1051) driverVersion=1.7.1
[middlegen] (middlegen.MiddlegenPopulator 1052) schema=PUBLIC
[middlegen] (middlegen.MiddlegenPopulator 1053) catalog=
[middlegen] (middlegen.MiddlegenPopulator 1169) -- tables --
After this line it just stops and doesn't give any error.
thanx'n regards,
Prashant Bhardwaj
08/20/2007 10:28 AM
Please respond to
To
cc
Subject
Re: [Middlegen-user] Fw: middlegen gui doesn't come up
ant -Dgui=true middlegen
http://boss.bekk.no/boss/middlegen/ant/index.html#gui
.e
Post by Rajeev Mittal
I have not followed this tutorial but looking at the ant task
(setup-middlegen), it does not appear that the gui should start as
this task is just copying the files in proper structure.
Launch a command prompt to c:\hibernatetutorial\lib\hsqldb
directory.
Launch the HSQLDB GUI by typing "java -cp hsqldb.jar
org.hsqldb.util.DatabaseManager"
Hope this gets you going.
Raj
Post by p***@na.nykline.com
Hi,
http://www.warfrog.com/hibernatetutorial
I am using middlegen : Middlegen-Hibernate-r5.zip which is the
latest
version unlike what has been used in the tutorial.
My jdk is 1.5
However, when I type : ant middlegen (as given in the tutorial),
the
middlegen GUI does not come up.
Can anybody give some idea how to correct this problem ?
thanx'n regards,
Prashant Bhardwaj>
-------------------------------------------------------------------------
Post by Rajeev Mittal
Post by p***@na.nykline.com
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/>
_______________________________________________
Post by p***@na.nykline.com
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
____________________________________________________________________________________
Post by Rajeev Mittal
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
updated
Post by Rajeev Mittal
for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
-------------------------------------------------------------------------
Post by Rajeev Mittal
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
http://get.splunk.com/_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...