Changes for page XcodeMigration

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

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