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&gt;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">&nbsp; &nbsp; &nbsp;[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">&nbsp; &nbsp; &nbsp;[echo] driver.present
= ${driver.present}</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp;[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">&nbsp; &nbsp; &nbsp;[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 &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 350 ) Registering plugin
simple</font>
<br><font size=2 face="sans-serif">-&gt;middlegen.Plugin</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.Middlegen &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 350 ) Registering plugin
java-&gt;</font>
<br><font size=2 face="sans-serif">middlegen.javax.JavaPlugin</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.Middlegen &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 350 ) Registering plugin
plugin</font>
<br><font size=2 face="sans-serif">-&gt;middlegen.Plugin</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.Middlegen &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 350 ) Registering plugin
hibern</font>
<br><font size=2 face="sans-serif">ate-&gt;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
&nbsp; &nbsp; &nbsp; &nbsp;1048) databaseProductName=HSQL</font>
<br><font size=2 face="sans-serif">Database Engine</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
&nbsp; &nbsp; &nbsp; &nbsp;1049) databaseProductVersion=1.</font>
<br><font size=2 face="sans-serif">7.1</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
&nbsp; &nbsp; &nbsp; &nbsp;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
&nbsp; &nbsp; &nbsp; &nbsp;1051) driverVersion=1.7.1</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
&nbsp; &nbsp; &nbsp; &nbsp;1052) schema=PUBLIC</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
&nbsp; &nbsp; &nbsp; &nbsp;1053) catalog=</font>
<br><font size=2 face="sans-serif">[middlegen] (middlegen.MiddlegenPopulator
&nbsp; &nbsp; &nbsp; &nbsp;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>
&gt;<br>
&gt; I have not followed this tutorial but looking at the ant task<br>
&gt; (setup-middlegen), it does not appear that the gui should start as<br>
&gt; this task is just copying the files in proper structure.<br>
&gt;<br>
&gt; Unless I am missing something, the tutorial ask to start gui using:<br>
&gt; &nbsp; &nbsp; Launch a command prompt to c:\hibernatetutorial\lib\hsqldb<br>
&gt; directory.<br>
&gt; &nbsp; &nbsp; Launch the HSQLDB GUI by typing &quot;java -cp hsqldb.jar<br>
&gt; org.hsqldb.util.DatabaseManager&quot;<br>
&gt;<br>
&gt; Hope this gets you going.<br>
&gt;<br>
&gt; Raj<br>
&gt; --- [email protected] wrote:<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt; I am following this tutorial :<br>
&gt;&gt; http://www.warfrog.com/hibernatetutorial<br>
&gt;&gt;<br>
&gt;&gt; I am using middlegen : Middlegen-Hibernate-r5.zip which is the<br>
&gt;&gt; latest<br>
&gt;&gt; version unlike what has been used in the tutorial.<br>
&gt;&gt; My jdk is 1.5<br>
&gt;&gt;<br>
&gt;&gt; However, when I type : ant middlegen (as given in the tutorial),<br>
&gt;&gt; the<br>
&gt;&gt; middlegen GUI does not come up.<br>
&gt;&gt; Can anybody give some idea how to correct this problem ?<br>
&gt;&gt;<br>
&gt;&gt; thanx'n regards,<br>
&gt;&gt; Prashant Bhardwaj&gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt;&gt; This SF.net email is sponsored by: Splunk Inc.<br>
&gt;&gt; Still grepping through log files to find problems? &nbsp;Stop.<br>
&gt;&gt; Now Search log events and configuration files using AJAX and a<br>
&gt;&gt; browser.<br>
&gt;&gt; Download your FREE copy of Splunk now &gt;&gt; &nbsp;http://get.splunk.com/&gt;<br>
&gt; _______________________________________________<br>
&gt;&gt; middlegen-user mailing list<br>
&gt;&gt; [email protected]<br>
&gt;&gt; https://lists.sourceforge.net/lists/listinfo/middlegen-user<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ____________________________________________________________________________________<br>
&gt; Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
updated<br>
&gt; for today's economy) at Yahoo! Games.<br>
&gt; http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow<br>
&gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt; This SF.net email is sponsored by: Splunk Inc.<br>
&gt; Still grepping through log files to find problems? &nbsp;Stop.<br>
&gt; Now Search log events and configuration files using AJAX and a browser.<br>
&gt; Download your FREE copy of Splunk now &gt;&gt; &nbsp;http://get.splunk.com/<br>
&gt; _______________________________________________<br>
&gt; middlegen-user mailing list<br>
&gt; [email protected]<br>
&gt; https://lists.sourceforge.net/lists/listinfo/middlegen-user<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Splunk Inc.<br>
Still grepping through log files to find problems? &nbsp;Stop.<br>
Now Search log events and configuration files using AJAX and a browser.<br>
Download your FREE copy of Splunk now &gt;&gt; &nbsp;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==--