You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Adrian Madrid <ae...@yahoo.com> on 2002/11/27 23:30:45 UTC

Problems with TDC 2.2 rc2

I'm getting this error while doing the "ant init"
part:

BUILD FAILED
file://C:/Dev/tdk/webapps/aemapp/WEB-INF/build/build.xml:6:
Property databasePassword was circularly defined.

Looking at the files in that directory I can't see how
to define acces to my MySQL server. Any clues for a
clueless newbie? Again, trying tdk2.2rc2.

Thanks in advance,




=====
----------------
Adrian Madrid
=========

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems with TDC 2.2 rc2

Posted by David Worms <da...@simpledesign.com>.
Change the default properties of Torque. Your problem is the following

myProperty=${myProperty}

when it should be something like

myProperty=myPropertyValue

This problem has already been raised in the past, search the mailing 
list

Cheers,

David

On Wednesday, November 27, 2002, at 02:30  PM, Adrian Madrid wrote:

> I'm getting this error while doing the "ant init"
> part:
>
> BUILD FAILED
> file://C:/Dev/tdk/webapps/aemapp/WEB-INF/build/build.xml:6:
> Property databasePassword was circularly defined.
>
> Looking at the files in that directory I can't see how
> to define acces to my MySQL server. Any clues for a
> clueless newbie? Again, trying tdk2.2rc2.
>
> Thanks in advance,
>
>
>
>
> =====
> ----------------
> Adrian Madrid
> =========
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems with TDC 2.2 rc2

Posted by Adrian Madrid <ae...@yahoo.com>.
Thanks for the settings, it worked! I might be dumber
than the normal Turbine user but I think an example
like this in the build.properties file would be of
great help. Or even in the TDK HowTo would be great.
I'll see if I can figure out how to change the sources
to do that and I'll recomend it to the list.

Thanks again,

--- David Worms <da...@simpledesign.com> wrote:
> Here are my Settings: (different from your, I am
> using an hybrid 
> version of scarab, turbine 3)
> 
> 
> torque.database.createUrl =
> jdbc:mysql://127.0.0.1:3306/myDatabase
> torque.database.driver = org.gjt.mm.mysql.Driver
> torque.database.user = yourUserName
> torque.database.password = yourPassord
> torque.database.host = 127.0.0.1
> 
> Comparing to your settings:
> 
> database.name         = myDatabase
> database                    = ${database.name}      
>   // not sure what 
> this is about
> databaseHost            = 127.0.0.1
> databaseUrl               =  
> jdbc:mysql://${databaseHost}:3306/${database.name}
> createDatabaseUrl   = ${databaseUrl}
> buildDatabaseUrl      = ${databaseUrl}
> databaseDriver          = org.gjt.mm.mysql.Driver
> databaseUser            = yourUserName
> databasePassword   = yourPassord
> 
> Hope this will help
> 
> david
> 
> 
> On Wednesday, November 27, 2002, at 02:38  PM,
> Adrian Madrid wrote:
> 
> > database.name = aemapp
> > database = ${target.database}
> > createDatabaseUrl = ${createDatabaseUrl}
> > buildDatabaseUrl = ${buildDatabaseUrl}
> > databaseUrl = ${databaseUrl}
> > databaseDriver = ${database.driver}
> > databaseUser = ${databaseUser}
> > databasePassword = ${databasePassword}
> > databaseHost = ${databaseHost}
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


=====
----------------
Adrian Madrid
=========

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems with TDC 2.2 rc2

Posted by David Worms <da...@simpledesign.com>.
Here are my Settings: (different from your, I am using an hybrid 
version of scarab, turbine 3)


torque.database.createUrl = jdbc:mysql://127.0.0.1:3306/myDatabase
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = yourUserName
torque.database.password = yourPassord
torque.database.host = 127.0.0.1

Comparing to your settings:

database.name         = myDatabase
database                    = ${database.name}         // not sure what 
this is about
databaseHost            = 127.0.0.1
databaseUrl               =  
jdbc:mysql://${databaseHost}:3306/${database.name}
createDatabaseUrl   = ${databaseUrl}
buildDatabaseUrl      = ${databaseUrl}
databaseDriver          = org.gjt.mm.mysql.Driver
databaseUser            = yourUserName
databasePassword   = yourPassord

Hope this will help

david


On Wednesday, November 27, 2002, at 02:38  PM, Adrian Madrid wrote:

> database.name = aemapp
> database = ${target.database}
> createDatabaseUrl = ${createDatabaseUrl}
> buildDatabaseUrl = ${buildDatabaseUrl}
> databaseUrl = ${databaseUrl}
> databaseDriver = ${database.driver}
> databaseUser = ${databaseUser}
> databasePassword = ${databasePassword}
> databaseHost = ${databaseHost}


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems with TDC 2.2 rc2

Posted by Adrian Madrid <ae...@yahoo.com>.
--- Adrian Madrid <ae...@yahoo.com> wrote:
> I'm getting this error while doing the "ant init"
> part:
> 
> BUILD FAILED
>
file://C:/Dev/tdk/webapps/aemapp/WEB-INF/build/build.xml:6:
> Property databasePassword was circularly defined.
> 
> Looking at the files in that directory I can't see
> how
> to define acces to my MySQL server. Any clues for a
> clueless newbie? Again, trying tdk2.2rc2.
> 
> Thanks in advance,
> 

Adding more detail: running on a W2K machine with a
local MySQL Max 4. 

My aemapp/WEB-INF/build/build.properties file has a
secion like this:

database.name = aemapp
database = ${target.database}
createDatabaseUrl = ${createDatabaseUrl}
buildDatabaseUrl = ${buildDatabaseUrl}
databaseUrl = ${databaseUrl}
databaseDriver = ${database.driver}
databaseUser = ${databaseUser}
databasePassword = ${databasePassword}
databaseHost = ${databaseHost}

but I have no idea on what's the proper format. I know
my ip/uname/pw for mysql but need help defining this
stuff. Any clues, please?

Thanks again,



=====
----------------
Adrian Madrid
=========

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>