Changes for page XcodeMigration

Last modified by William Sandner on 2011/10/19 21:07

From version 29.1
edited by Pascal Robert
on 2007/12/08 23:18
Change comment: http://wiki.objectstyle.org/confluence/download/resources/com.atlassian.confluence.extra.tinymceplugin:tinymceeditor/tinymcesource/plugins/confluence/images/confimahttp://wiki.objectstyle.org/confluence/download/resources/com.atlassian.confluence.extra.tinymceplugin:tinymceeditor/tinymcesource/plugins/confluence/images/confimage.gifge.gifhttp://wikhttp://wiki.objectstyle.org/confluence/download/resources/com.atlassian.confluence.extra.tinymceplugin:tinymceeditor/tinymcesource/plugins/confluence/images/confimage.gifi.objectstyle.org/confluence/download/resources/com.atlassian.confluence.extra.tinymceplugin:tinymceeditor/tinymcesource/plugins/confluence/images/confimage.gif
To version 24.1
edited by Pascal Robert
on 2007/12/08 23:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,5 @@
1 +{{toc}}{{/toc}}
2 +
1 1  = Introduction  =
2 2  
3 3  XcodeMigration is a tool written by [[Pascal Robert>>~~probert]]to help you migrate multiple WebObjects projects from Xcode to Eclipse/WOLips.  If you have complex or many projects to convert, this is the tool to use.  The tool is written in Java and is a Eclipse project, so you will need to import the project into Eclipse first (you need a functionnal WOLips installation to be able to import the tool). 
... ... @@ -6,32 +6,31 @@
6 6  
7 7  * If you want to convert your Java classes from MacRoman to UTF-8, make sure your Eclipse workspace is in UTF-8 (the default is MacRoman).
8 8  [[image:Image 1.png]]
9 -* Make sure that you are in the WOLips perspective
11 +* Make sure that you are in the WOLips perspective.
10 10  [[image:Image 6.png]]
11 -
12 12  [[image:Image 7.png]]
13 -
14 14  * Download the tool (you don't need to expand the .zip file)
15 -* Import the XcodeMigration tool into Eclipse, by selecting File > Import > Existings projects into workspace.  Next.  select archive
15 +* Import the XcodeMigration tool into Eclipse, by selecting //File// > //Import//.    
16 16  [[image:Image 2.png]]
17 -
17 +* Select //Existings Projects into Workspace// and click //Next//.
18 18  [[image:Image 3.png]]
19 +* Select the location of the ZIP file with the tool and click //Finish//.
19 19  
20 -* Create two templates, one application, the other framework
21 -[[image:Image 8.png]]
21 +[[image:Image 4.png]]
22 22  
23 +* The tool needs two projects templates, one of them is a application template, the other a framework template.  So you need to create a //WebObjects Application// and a //WebObjects Framework//.
24 +[[image:Image 8.png]]
23 23  [[image:Image 9.png]]
24 -
25 -* should see 3 projects
26 +* You should see the tool and the two templates in the //WO Package Explorer//.
26 26  [[image:Image 10.png]]
27 -* open config.xml and change <applicationTemplatePath> and <frameworkTemplatePath>
28 -[[image:Image 11.png]]
29 -* for each project that you want to import, you need the a <project> node.&nbsp; <path> is the file system path to the Xcode project, <name> is the project name, minus .xcodeproj
30 -* open the Run dialog
28 +* Open //config.xml// and change the value of the //<applicationTemplatePath>// and //<frameworkTemplatePath>// nodes so that the path points to the templates you created below.
29 +[[image:Image 22.png]]
30 +* For each project that you want to import, you need the a //<project>// node.&nbsp; //<path>// is the file system path to the Xcode project, //<name>// is the project name, minus .xcodeproj
31 +* Right-click on the //XCodeMigration.java// class and select //Run As// > //Open Run dialog...//
31 31  [[image:Image 12.png]]
32 -* double-click on Java Application
33 +* Double-click on //Java Application//.
33 33  [[image:Image 13.png]]
34 -* click on the arguments tab and enter this value as a program arguments&nbsp;
35 +* Click on the //Arguments// tab and enter this value as a //Program arguments//.
35 35  
36 36  {{code}}
37 37  
... ... @@ -41,14 +41,14 @@
41 41  
42 42  [[image:Image 21.png]]
43 43  
44 -* click apply and run
45 -* when it's running, you should get a output like this
45 +* Click //Apply// and click //Run//.
46 +* When it's running, you should see a output like this:
46 46  [[image:Image 16.png]]
47 -* to import the converted projects, open File > Import > Existings projects into workspace.&nbsp; Next. select root directory
48 +* To import the converted projects, open //File// > //Import// > //Existings projects into workspace//.&nbsp; Click //Next//. Select //Select Root Directory// and browse to ///tmp/migrations//.&nbsp; You should see the list of projects that you converted.
48 48  [[image:Image 17.png]]
49 -* your converted projects will appear in the package explorer
50 +* Your converted projects will appear in the //WO Package Explorer//.
50 50  [[image:Image 18.png]]
51 -* fix all frameworks dependencies and you're done
52 +* Fix all frameworks dependencies and any other build errors.&nbsp; It's done.
52 52  
53 53  = FAQ =
54 54