Changes for page XcodeMigration
Last modified by William Sandner on 2011/10/19 21:07
From version 41.1
edited by Pascal Robert
on 2010/01/04 06:19
on 2010/01/04 06:19
Change comment:
There is no comment for this version
To version 24.1
edited by Pascal Robert
on 2007/12/08 23:31
on 2007/12/08 23:31
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,76 +1,39 @@ 1 1 {{toc}}{{/toc}} 2 2 3 -= Introduction = 3 += Introduction = 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 -{{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). 15 - 16 -{{/note}} 17 - 18 18 = How to use it = 19 19 20 -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). 21 - 22 -{{panel}} 23 - 24 -!Image 1.png! 25 - 26 -{{/panel}} 27 - 28 -Make sure that you are in the WOLips perspective. 29 - 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 +[[image:Image 1.png]] 11 +* Make sure that you are in the WOLips perspective. 30 30 [[image:Image 6.png]] 31 - 32 32 [[image:Image 7.png]] 33 - 34 -[[Download the tool>>^XcodeMigration.zip]] (you don't need to expand the .zip file) 35 - 36 -Import the XcodeMigration tool into Eclipse, by selecting //File// > //Import//. 37 - 14 +* Download the tool (you don't need to expand the .zip file) 15 +* Import the XcodeMigration tool into Eclipse, by selecting //File// > //Import//. 38 38 [[image:Image 2.png]] 39 - 40 -Select //Existings Projects into Workspace// and click //Next//. 41 - 17 +* Select //Existings Projects into Workspace// and click //Next//. 42 42 [[image:Image 3.png]] 19 +* Select the location of the ZIP file with the tool and click //Finish//. 43 43 44 -Select the location of the ZIP file with the tool and click //Finish//. 45 - 46 46 [[image:Image 4.png]] 47 47 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 - 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//. 50 50 [[image:Image 8.png]] 51 - 52 52 [[image:Image 9.png]] 53 - 54 -You should see the tool and the two templates in the //WO Package Explorer//. 55 - 26 +* You should see the tool and the two templates in the //WO Package Explorer//. 56 56 [[image:Image 10.png]] 57 - 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 - 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. 60 60 [[image:Image 22.png]] 61 - 62 -For each project that you want to import, you need the a //<project>// node. //<path>// is the file system path to the Xcode project, //<name>// is the project name, minus .xcodeproj 63 - 64 -Right-click on the //XCodeMigration.java// class and select //Run As// > //Open Run dialog...// 65 - 30 +* For each project that you want to import, you need the a //<project>// node. //<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...// 66 66 [[image:Image 12.png]] 67 - 68 -Double-click on //Java Application//. 69 - 33 +* Double-click on //Java Application//. 70 70 [[image:Image 13.png]] 35 +* Click on the //Arguments// tab and enter this value as a //Program arguments//. 71 71 72 -Click on the //Arguments// tab and enter this value as a //Program arguments//. 73 - 74 74 {{code}} 75 75 76 76 ${project_loc}/config.xml ... ... @@ -79,22 +79,15 @@ 79 79 80 80 [[image:Image 21.png]] 81 81 82 -Click //Apply// and click //Run//. 83 - 84 -When it's running, you should see a output like this: 85 - 45 +* Click //Apply// and click //Run//. 46 +* When it's running, you should see a output like this: 86 86 [[image:Image 16.png]] 87 - 88 -To import the converted projects, open //File// > //Import// > //Existings projects into workspace//. Click //Next//. Select //Select Root Directory// and browse to ///tmp/migrations//. You should see the list of projects that you converted. 89 - 48 +* To import the converted projects, open //File// > //Import// > //Existings projects into workspace//. Click //Next//. Select //Select Root Directory// and browse to ///tmp/migrations//. You should see the list of projects that you converted. 90 90 [[image:Image 17.png]] 91 - 92 -Your converted projects will appear in the //WO Package Explorer//. 93 - 50 +* Your converted projects will appear in the //WO Package Explorer//. 94 94 [[image:Image 18.png]] 52 +* Fix all frameworks dependencies and any other build errors. It's done. 95 95 96 -Fix all frameworks dependencies and any other build errors. It's done. 97 - 98 98 = FAQ = 99 99 100 100 **Q.** I can't a //Could not find working dir for project// error when I launch my converted application.