On Feb 23, 2008, at 1:00 PM, Pascal Robert wrote:


Le 08-02-23 à 13:15, Anthony B Arthur a écrit :

Hi,

XcodeMigration is a tool written by Pascal Roberts that will convert an XCode project to eclipse. I have used it with success, but I am puzzled. What is the purpose of adding the ApplicationTemplate & FrameworkTemplate projects, and (this I am most interested in), can I remove them once my converted project is imported?

Those "templates" are only used as the basis of your imported projects. I have done that so that if the WOLips project templates change, the script will still work since the conversion procedure will use the same templates versions as WOLips. After you converted your projects, you can delete it.

Also, this is more of an eclipse question. Unlike XCode, wo bundles in eclipse separate the java classes from the wod, woo, html, & api files. I suspect this is to allow packaging, however I am having a problem making the java source visible to those components. The compiler is complaining that it can not find class definitions for various subcomponents referenced within the component definition. There must be an easy solution, but I am too new to this SDK to figure it out. Anyone?

Did you refactor your classes (ie: moving from the default package to a real one) ? If yes, for example if you had a "Header" sub- component and you refactored your classes to org.wocommunity.myapp.components, you need to change this:

MyHeader : Header {
}

to:

MyHeader: org.wocommunity.myapp.components.Header {
}

You should not _need_ to do that. I only have to do that if there is a Header class in more than one package. Are all of the Java classes on the classpath? Are some in frameworks that are not included in this project?

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
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