Re: Fw: middlegen gui doesn't come up
[email protected] Sun, 26 Aug 2007 17:16:08 -0400
| Newsgroups | gmane.comp.java.ejb.middlegen.user |
|---|---|
| Message-ID | <OFEE7F8376.F52E799B-ON85257343.0074AAE7-85257343.0074D545@na.nykline.com> |
This is a multipart message in MIME format.
--===============2053531149==
Content-Type: multipart/alternative;
boundary="=_alternative 0074D54485257343_="
This is a multipart message in MIME format.
--=_alternative 0074D54485257343_=
Content-Type: text/plain; charset="US-ASCII"
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
[email protected]
Sent by: [email protected]
08/20/2007 10:28 AM
Please respond to
[email protected]
To
[email protected]
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
>
> 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
> --- [email protected] wrote:
>
>> 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>
>
-------------------------------------------------------------------------
>> 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
>> [email protected]
>> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/middlegen-user
--=_alternative 0074D54485257343_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Tried. doesn't work.</font>
<br><font size=2 face="sans-serif">I saw that the build.xml already has
the required attribute set for gui.</font>
<br><font size=2 face="sans-serif">Any idea, anyone ?</font>
<br><font size=2 face="sans-serif">Following is the log generated :</font>
<br><font size=2 face="sans-serif">D:\hibernatetutorial\apps\middlegen\Middlegen-Hibernate-r5>ant
-Ddatabase.schema</font>
<br><font size=2 face="sans-serif">=PUBLIC middlegen</font>
<br><font size=2 face="sans-serif">Buildfile: build.xml</font>
<br>
<br><font size=2 face="sans-serif">init:</font>
<br>
<br><font size=2 face="sans-serif">fail-if-no-xdoclet-1.2:</font>
<br>
<br><font size=2 face="sans-serif">check-driver-present:</font>
<br><font size=2 face="sans-serif"> [echo] database.driver.file
= D:\hibernatetutorial\apps\middlegen\Middlegen</font>
<br><font size=2 face="sans-serif">-Hibernate-r5/lib/hsqldb-1.7.1.jar</font>
<br><font size=2 face="sans-serif"> [echo] driver.present
= ${driver.present}</font>
<br><font size=2 face="sans-serif"> [echo] gui = true</font>
<br>
<br><font size=2 face="sans-serif">panic-if-driver-not-present:</font>
<br>
<br><font size=2 face="sans-serif">middlegen:</font>
<br><font size=2 face="sans-serif"> [echo] Class path
= D:\hibernatetutorial\apps\middlegen\Middlegen-Hibernate</font>
<br><font size=2 face="sans-serif">-r5</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.Middlegen
350 ) Registering plugin
simple</font>
<br><font size=2 face="sans-serif">->middlegen.Plugin</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.Middlegen
350 ) Registering plugin
java-></font>
<br><font size=2 face="sans-serif">middlegen.javax.JavaPlugin</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.Middlegen
350 ) Registering plugin
plugin</font>
<br><font size=2 face="sans-serif">->middlegen.Plugin</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.Middlegen
350 ) Registering plugin
hibern</font>
<br><font size=2 face="sans-serif">ate->middlegen.plugins.hibernate.HibernatePlugin</font>
<br><font size=2 face="sans-serif">[middlegen] Database URL:jdbc:hsqldb:hsql://localhost</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
1048) databaseProductName=HSQL</font>
<br><font size=2 face="sans-serif">Database Engine</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
1049) databaseProductVersion=1.</font>
<br><font size=2 face="sans-serif">7.1</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
1050) driverName=HSQL Database</font>
<br><font size=2 face="sans-serif">Engine Driver</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
1051) driverVersion=1.7.1</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
1052) schema=PUBLIC</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
1053) catalog=</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
1169) -- tables --</font>
<br>
<br><font size=2 face="sans-serif">After this line it just stops and doesn't
give any error.</font>
<br>
<br><font size=2 face="sans-serif">thanx'n regards,<br>
Prashant Bhardwaj</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>[email protected]</b>
</font>
<br><font size=1 face="sans-serif">Sent by: [email protected]</font>
<p><font size=1 face="sans-serif">08/20/2007 10:28 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
[email protected]</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">[email protected]</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Middlegen-user] Fw: middlegen gui
doesn't come up</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Try setting the gui parameter to true:<br>
<br>
ant -Dgui=true middlegen<br>
<br>
This can be specified in the build.xml file as well:<br>
http://boss.bekk.no/boss/middlegen/ant/index.html#gui<br>
<br>
.e<br>
<br>
><br>
> I have not followed this tutorial but looking at the ant task<br>
> (setup-middlegen), it does not appear that the gui should start as<br>
> this task is just copying the files in proper structure.<br>
><br>
> Unless I am missing something, the tutorial ask to start gui using:<br>
> Launch a command prompt to c:\hibernatetutorial\lib\hsqldb<br>
> directory.<br>
> Launch the HSQLDB GUI by typing "java -cp hsqldb.jar<br>
> org.hsqldb.util.DatabaseManager"<br>
><br>
> Hope this gets you going.<br>
><br>
> Raj<br>
> --- [email protected] wrote:<br>
><br>
>> Hi,<br>
>> I am following this tutorial :<br>
>> http://www.warfrog.com/hibernatetutorial<br>
>><br>
>> I am using middlegen : Middlegen-Hibernate-r5.zip which is the<br>
>> latest<br>
>> version unlike what has been used in the tutorial.<br>
>> My jdk is 1.5<br>
>><br>
>> However, when I type : ant middlegen (as given in the tutorial),<br>
>> the<br>
>> middlegen GUI does not come up.<br>
>> Can anybody give some idea how to correct this problem ?<br>
>><br>
>> thanx'n regards,<br>
>> Prashant Bhardwaj><br>
> -------------------------------------------------------------------------<br>
>> This SF.net email is sponsored by: Splunk Inc.<br>
>> Still grepping through log files to find problems? Stop.<br>
>> Now Search log events and configuration files using AJAX and a<br>
>> browser.<br>
>> Download your FREE copy of Splunk now >> http://get.splunk.com/><br>
> _______________________________________________<br>
>> middlegen-user mailing list<br>
>> [email protected]<br>
>> https://lists.sourceforge.net/lists/listinfo/middlegen-user<br>
>><br>
><br>
><br>
><br>
><br>
> ____________________________________________________________________________________<br>
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
updated<br>
> for today's economy) at Yahoo! Games.<br>
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow<br>
><br>
> -------------------------------------------------------------------------<br>
> This SF.net email is sponsored by: Splunk Inc.<br>
> Still grepping through log files to find problems? Stop.<br>
> Now Search log events and configuration files using AJAX and a browser.<br>
> Download your FREE copy of Splunk now >> http://get.splunk.com/<br>
> _______________________________________________<br>
> middlegen-user mailing list<br>
> [email protected]<br>
> https://lists.sourceforge.net/lists/listinfo/middlegen-user<br>
><br>
><br>
<br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Splunk Inc.<br>
Still grepping through log files to find problems? Stop.<br>
Now Search log events and configuration files using AJAX and a browser.<br>
Download your FREE copy of Splunk now >> http://get.splunk.com/<br>
_______________________________________________<br>
middlegen-user mailing list<br>
[email protected]<br>
https://lists.sourceforge.net/lists/listinfo/middlegen-user<br>
<br>
</tt></font>
<br>
--=_alternative 0074D54485257343_=--
--===============2053531149==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
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/
--===============2053531149==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
middlegen-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/middlegen-user
--===============2053531149==--