i don't think you can (someone correct me i'm wrong!). 

well, you could just duplicate the project folder on your file system, but then you'll copy whatever has broken too.

i'd just start with a fresh webobjects application (assuming that's what your building), rebuild all your components (as described before), drag & drop any resources from one project to the other (EOModels, properties files etc - making sure you select the appropriate targets), hook up the frameworks you are dependent on again, and re-build.

i don't do this often, but i have ocassionally done it when baffled by some breakage i couldn't fix.

simon

ps. one thought: in the broken project, have you tried completely deleting your build folder prior to building the app ? with xcode sometimes things can go wonky in the build folder that a clean won't fix... 

On 15 Sep 2006, at 13:02, Andrew Joso wrote:

THanks for the help
 
I tried to do that, but when I try to build the project, it comes up with 100 errors. It's because, WO is unable to reach some of the frameworks. What is the best way to copy the whole project to a different project? What project should I start with?
 
Thank you


 
On 9/15/06, Simon Mclean <[EMAIL PROTECTED]> wrote:
call me a cop-out, but i think i would just start over with your new
project that is working. if your project isn't too huge then it won't
take too long to copy your components and resources over - and it's
likely to be quicker than trying to debug something like this.

note that as far as i know you can't just drag and drop components
from one project to the other in xcode because it does something
funny with the .wo's. when shifting components from one project to
another i tend to create a new component in the new project with the
same component name, and then copy the .api .java and .wo from the
old project folder to the new using finder.

simon

On 15 Sep 2006, at 07:53, Andrew Joso wrote:

> Let me try to simplify my question.
> Thanks for those who reply. I really appreciated.
>
> 1) EO model can request data from the database
> 2) WO fails when it request data from the database, eventhough it use
> the same EO model
> 3) As I create new project, which use the same EO model, WO can
> request data from the database
>
> Thanks again in advanced.
>
> Anyone has some ideas, what can I do?
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ( [email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/simon_mclean%
> 40mac.com
>
> This email sent to [EMAIL PROTECTED]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to