Changes for page XcodeMigration

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

From version 40.1
edited by Pascal Robert
on 2010/01/04 06:19
Change comment: There is no comment for this version
To version 37.1
edited by Pascal Robert
on 2011/03/27 10:24
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,7 +11,7 @@
11 11  {{/info}}
12 12  
13 13  {{note}}
14 -XcodeMigration is using the tool _pbprojectdump_ which is no longer present in the Xcode 3 bundle. You need to install Xcode 2.5 to get access to _pbprojectdump_ (you can it over another machine too).
14 +XcodeMigration is using the tool _pbprojectdump_ which is no longer present in the Xcode 3 bundle. You need to install Xcode 2.5 to get access to _pbprojectdump_ (you can copy it from another machine too).
15 15  
16 16  {{/note}}
17 17  
... ... @@ -21,54 +21,93 @@
21 21  
22 22  {{panel}}
23 23  
24 -!Image 1.png!
24 +!Image 1.png|align=center!
25 25  
26 26  {{/panel}}
27 27  
28 28  Make sure that you are in the WOLips perspective.
29 29  
30 -[[image:Image 6.png]]
30 +{{panel}}
31 31  
32 -[[image:Image 7.png]]
32 +!Image 6.png|align=center!
33 +!Image 7.png|align=center!
33 33  
34 -[[Download the tool>>^XcodeMigration.zip]] (you don't need to expand the .zip file)
35 +{{/panel}}
35 35  
36 -Import the XcodeMigration tool into Eclipse, by selecting //File// > //Import//.    
37 +[[Download the tool>>^XcodeMigration.zip]] (you don't need to expand the .zip file). You can also get it from a [[GitHub repository>>https://github.com/pascalrobert/XCodeMigration]].
37 37  
38 -[[image:Image 2.png]]
39 +Import the XcodeMigration tool into Eclipse, by selecting //File// > //Import//.
39 39  
41 +{{panel}}
42 +
43 +!Image 2.png|align=center!
44 +
45 +{{/panel}}
46 +
40 40  Select //Existings Projects into Workspace// and click //Next//.
41 41  
42 -[[image:Image 3.png]]
49 +{{panel}}
43 43  
51 +!Image 3.png|align=center!
52 +
53 +{{/panel}}
54 +
44 44  Select the location of the ZIP file with the tool and click //Finish//.
45 45  
46 -[[image:Image 4.png]]
57 +{{panel}}
47 47  
59 +!Image 4.png|align=center!
60 +
61 +{{/panel}}
62 +
48 48  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//.
49 49  
50 -[[image:Image 8.png]]
65 +{{panel}}
51 51  
52 -[[image:Image 9.png]]
67 +!Image 8.png|align=center!
53 53  
69 +{{/panel}}
70 +
71 +{{panel}}
72 +
73 +!Image 9.png|align=center!
74 +
75 +{{/panel}}
76 +
54 54  You should see the tool and the two templates in the //WO Package Explorer//.
55 55  
56 -[[image:Image 10.png]]
79 +{{panel}}
57 57  
81 +!Image 10.png|align=center!
82 +
83 +{{/panel}}
84 +
58 58  Open //config.xml// and change the value of the //<applicationTemplatePath>// and //<frameworkTemplatePath>// nodes so that the path points to the templates you created below.
59 59  
60 -[[image:Image 22.png]]
87 +{{panel}}
61 61  
89 +!Image 22.png|align=center!
90 +
91 +{{/panel}}
92 +
62 62  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
63 63  
64 64  Right-click on the //XCodeMigration.java// class and select //Run As// > //Open Run dialog...//
65 65  
66 -[[image:Image 12.png]]
97 +{{panel}}
67 67  
99 +!Image 12.png|align=center!
100 +
101 +{{/panel}}
102 +
68 68  Double-click on //Java Application//.
69 69  
70 -[[image:Image 13.png]]
105 +{{panel}}
71 71  
107 +!Image 13.png|align=center!
108 +
109 +{{/panel}}
110 +
72 72  Click on the //Arguments// tab and enter this value as a //Program arguments//.
73 73  
74 74  {{code}}
... ... @@ -77,22 +77,38 @@
77 77  
78 78  {{/code}}
79 79  
80 -[[image:Image 21.png]]
119 +{{panel}}
81 81  
121 +!Image 21.png|align=center!
122 +
123 +{{/panel}}
124 +
82 82  Click //Apply// and click //Run//.
83 83  
84 84  When it's running, you should see a output like this:
85 85  
86 -[[image:Image 16.png]]
129 +{{panel}}
87 87  
131 +!Image 16.png|align=center!
132 +
133 +{{/panel}}
134 +
88 88  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.
89 89  
90 -[[image:Image 17.png]]
137 +{{panel}}
91 91  
139 +!Image 17.png|align=center!
140 +
141 +{{/panel}}
142 +
92 92  Your converted projects will appear in the //WO Package Explorer//.
93 93  
94 -[[image:Image 18.png]]
145 +{{panel}}
95 95  
147 +!Image 18.png|align=center!
148 +
149 +{{/panel}}
150 +
96 96  Fix all frameworks dependencies and any other build errors.&nbsp; It's done.
97 97  
98 98  = FAQ =