On Oct 17, 2008, at 7:15 AM, Florijan Stamenkovic wrote:

On Oct 16, 2008, at 23:13, [EMAIL PROTECTED] wrote:

I'm finally taking the plunge to leave Xcode behind and migrate our frameworks and applications to Eclipse. I've installed WOLips, and I've carefully followed the instructions for Pascal Robert's XcodeMigration tool (great visual tutorial instructions, btw). However, when I get to the point of running the tool, the following results:

Starting the importation process...
java.lang.IllegalArgumentException: /Users/dhoward/ EclipseWorkspace/WOApplicationTemplate/Components does not exist at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java: 886) at ca.os.migrations.XCodeToEclipse.cleanupTemplates (XCodeToEclipse.java:174)
        at ca.os.migrations.XCodeToEclipse.main(XCodeToEclipse.java:76)

However, this "Components" directory does exist in that location and even has two items in it, Main.api and Main.wo. What am I doing wrong and how do I make it work?

Are you 100% sure of this? Do you have multiple hard drive partitions? Could it be possible that the code above assumes the wrong partition? How does the XcodeMigration process obtain that file reference? I checked out the source of Apache's FileUtils, and it is very straightforward, I don't see how it could screw up:


    /**
     * Cleans a directory without deleting it.
     *
     * @param directory directory to clean
     * @throws IOException in case cleaning is unsuccessful
     */
public static void cleanDirectory(File directory) throws IOException {
        if (!directory.exists()) {
            String message = directory + " does not exist";
            throw new IllegalArgumentException(message);
        }

Yes I am 100% sure.  I don't have multiple hard drive partitions.

Denise

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to