[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ajug-members]: Torque question



The best way to ensure this will happen is to put it in one of your source
folders.

So if you had a project with:

/src/java
/src/test

....you could put it in /src/java and any time you make a change to it,
Eclipse
will copy it to your compile directory (e.g. /WEB-INF/classes)



--
James Mitchell
Software Engineer / Open Source Evangelist




----- Original Message -----
From: "Rob Kischuk" <rkischuk@gttx.org>
To: <ajug-members@ajug.org>
Sent: Friday, April 23, 2004 7:10 PM
Subject: Re: [ajug-members]: Torque question


> You probably just need to make sure it's in your classpath.  I presume
> you're deploying in a .war, so put the properties file in <war
> file>/WEB-INF/classes/  This should do the trick.
>
> -Rob
>
> Tony Yeung wrote:
>
> >Hi Everyone,
> >
> >I am new to Java, so please bear with me if my
> >question seems a bit stupid.
> >
> >Currently, I am developing a site using Struts and
> >Torque, with MyEclipse as my IDE.  My problem is that
> >I am having trouble integrating Torque with Struts.  I
> >don't know where to put the Torque.properties file.  I
> >try various places, but the programs are not reading
> >it and giving FileNotFoundException.
> >
> >Any help is appreciated!!!  Thank you and have a
> >wonderful weekend!!
> >
> >Tony
> >
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Photos: High-quality 4x6 digital prints for 25
> >http://photos.yahoo.com/ph/print_splash
> >
> >
> >
>