Organizing java files with WOLips / Eclipse

From: RIAHI Farshad (farshad.riah..ediware.fr)
Date: Tue Nov 25 2003 - 06:13:58 EST

  • Next message: Harald Niesche: "Re: Organizing java files with WOLips / Eclipse"

    Hi,
    We are somewhat confused with file organization in Eclipse. I didn't find
    any article about this on the Web !!! Here is our issue :
    We want to create WO Frameworks with WOLips.
    All our Java files begin wih "package com.myCompany.MyFramework;"

    If we roganize all files of the same package in the FileSystem tree :
    MyFrameworkProject\com\MyCompany\MyFramework
    every thing is OK.
    But we want to reorganize files in some other subdirectories :
    MyFrameworkProject\Classes ; MyFrameworkProject\Components ;
    MyFrameworkProject\Objects ; etc....

    Then, when compiling, there is an error in each file : "declared package
    doesnt match with package definition" and Eclipse proposes the solution :
    "Move file.java to com.MyCompany.MyFramework" ....
    Selecting this solution removes the error but moves the java file in the
    MyFrameworkProject\com\MyCompany\MyFramework file tree. :-(

    Is there a solution to organize files as the way we want ? How can we tell
    Eclipse / Wolips not to remove files ? Is this a Eclipse issue or a WOLips
    limitation ?

    Thanks in Advance,

    Farshad.



    This archive was generated by hypermail 2.0.0 : Tue Nov 25 2003 - 06:08:25 EST