Changes for page XcodeMigration

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

From version 31.1
edited by Kieran Kelleher
on 2007/12/20 22:52
Change comment: There is no comment for this version
To version 25.1
edited by Pascal Robert
on 2007/12/08 23:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.probert
Content
... ... @@ -4,64 +4,36 @@
4 4  
5 5  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 6  
7 -{{info title="Short video showing XCode project conversion"}}
8 -
9 -* [Converting XCode Projects to Eclipse Dev Tools|http://www.wocommunity.org/podcasts/Converting_Xcode_projects.mov]
10 -
11 -{{/info}}
12 -
13 13  = How to use it =
14 14  
15 -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).
16 -
9 +* 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).
17 17  [[image:Image 1.png]]
18 -
19 -Make sure that you are in the WOLips perspective.
20 -
11 +* Make sure that you are in the WOLips perspective.
21 21  [[image:Image 6.png]]
22 -
23 23  [[image:Image 7.png]]
24 -
25 -[[Download the tool>>^XcodeMigration.zip]] (you don't need to expand the .zip file)
26 -
27 -Import the XcodeMigration tool into Eclipse, by selecting //File// > //Import//.    
28 -
14 +* Download the tool (you don't need to expand the .zip file)
15 +* Import the XcodeMigration tool into Eclipse, by selecting //File// > //Import//.    
29 29  [[image:Image 2.png]]
30 -
31 -Select //Existings Projects into Workspace// and click //Next//.
32 -
17 +* Select //Existings Projects into Workspace// and click //Next//.
33 33  [[image:Image 3.png]]
19 +* Select the location of the ZIP file with the tool and click //Finish//.
34 34  
35 -Select the location of the ZIP file with the tool and click //Finish//.
36 -
37 37  [[image:Image 4.png]]
38 38  
39 -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//.
40 -
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//.
41 41  [[image:Image 8.png]]
42 -
43 43  [[image:Image 9.png]]
44 -
45 -You should see the tool and the two templates in the //WO Package Explorer//.
46 -
26 +* You should see the tool and the two templates in the //WO Package Explorer//.
47 47  [[image:Image 10.png]]
48 -
49 -Open //config.xml// and change the value of the //<applicationTemplatePath>// and //<frameworkTemplatePath>// nodes so that the path points to the templates you created below.
50 -
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.
51 51  [[image:Image 22.png]]
52 -
53 -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
54 -
55 -Right-click on the //XCodeMigration.java// class and select //Run As// > //Open Run dialog...//
56 -
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...//
57 57  [[image:Image 12.png]]
58 -
59 -Double-click on //Java Application//.
60 -
33 +* Double-click on //Java Application//.
61 61  [[image:Image 13.png]]
35 +* Click on the //Arguments// tab and enter this value as a //Program arguments//.
62 62  
63 -Click on the //Arguments// tab and enter this value as a //Program arguments//.
64 -
65 65  {{code}}
66 66  
67 67  ${project_loc}/config.xml
... ... @@ -70,22 +70,15 @@
70 70  
71 71  [[image:Image 21.png]]
72 72  
73 -Click //Apply// and click //Run//.
74 -
75 -When it's running, you should see a output like this:
76 -
45 +* Click //Apply// and click //Run//.
46 +* When it's running, you should see a output like this:
77 77  [[image:Image 16.png]]
78 -
79 -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.
80 -
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.
81 81  [[image:Image 17.png]]
82 -
83 -Your converted projects will appear in the //WO Package Explorer//.
84 -
50 +* Your converted projects will appear in the //WO Package Explorer//.
85 85  [[image:Image 18.png]]
52 +* Fix all frameworks dependencies and any other build errors.&nbsp; It's done.
86 86  
87 -Fix all frameworks dependencies and any other build errors.&nbsp; It's done.
88 -
89 89  = FAQ =
90 90  
91 91  **Q.**&nbsp; I can't a //Could not find working dir for project// error when I launch my converted application.