commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <jvan...@zenplex.com>
Subject Re: Torque learning curve WAS: RE: Jakarta Persistence Framework?
Date Thu, 03 Jan 2002 06:08:04 GMT
On 1/3/02 12:35 AM, "Kevin A. Burton" <burton@openprivacy.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ted Husted <husted@apache.org> writes:
> <snip/>
> 
>> If anyone has a simple application that they have done using Torque and
>> Peers (perhaps when they were learning it themselves) that they can send
>> me in confidence, I will be very eager to use as the base of another
>> "cleanroom" example that we could make available publically, and include
>> a "tour" as I did with the Struts example application.
> 
> <snip/>
> 
> http://reptile.openprivacy.org
> 
> Doesn't use any Turbine code (we don't need any) and uses Torque by itself.
> 
> The only thing I did was download torque, symlink the 'src' directory to
> Reptile's 'src', edited build.properties to reflect my install and just ran
> 'ant'.
> 
> The only thing you need to do is init Turbine.
> 
>   TurbineConfig config = new TurbineConfig( ".",
> "webapps/reptile/WEB-INF/etc/TurbineResources.properties" );
> 
>   config.init();

This is not the correct way to use Torque in a stand-alone fashion, look at
the tests in the decoupled torque for an example of how to do. I've been
trying to get rid of TurbineConfig forever.

 
> Have fun! :)
>   
> - -- 
> Kevin A. Burton ( burton@apache.org, burton@openprivacy.org,
> burtonator@acm.org )
>            Location - San Francisco, CA, Cell - 415.595.9965
>       Jabber - burtonator@jabber.org,  Web - http://relativity.yi.org/
> 
> Hiroshima 1945, Czernobyl 1986, Windows 2000
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
> 
> iD8DBQE8M+2oAwM6xb2dfE0RAqvvAJ4ySVNFupWPrv2U7A+L7NDsxbCQkACgvlgH
> LhM1/rmg3+JVq2nj8k+9AGg=
> =hqSL
> -----END PGP SIGNATURE-----
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message