Re: Migration code to Eclips/Wolips question
Re: Migration code to Eclips/Wolips question
- Subject: Re: Migration code to Eclips/Wolips question
- From: Pascal Robert <email@hidden>
- Date: Wed, 19 Dec 2007 20:12:25 -0500
Le 07-12-19 à 17:15, Ren, Kevin a écrit : Hi, guys I got Eclips/WOLips question here: I tried to upgrade my old WO application code to Eclipse/WOLips environment. is there any tools or code available?, code is before Xcode project. If you are on OS X, check out:
Anyway, I manually copy the code to new project, for example in CategoryEditor component, I copied java code to new "sources" dir and html, wod and woo code to "components" dir.
This is good. When I opened WO node in Wolips, got problem, something like couldnot access/find any key/variable is declared "protected" in java code. Only can find "public" key. After I modified the key/variable to "public", the wod file still could not see it, but when I pressed "Ctrl+SPACE" it 's available in the list. I have to select and overwrite it again. is this bug in WOlips? Or "public" ONLY? I need to change all of them to "public"?
It's a warning because if you use Java packages, your variables have to be public if you plant to have reusable components. If you are using the default package, it's not a problem but it's not a good pratice either. Or I haven't finish this migration, I know I did not put the file name in the PD.project file. I remember that should be pick up automatically. Is that matter if not in this file?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden