Re: Eclipse fails to include some files in build

From: Kaj Hejer (kaj.heje..sit.uio.no)
Date: Wed May 04 2005 - 15:52:49 EDT

  • Next message: Kaj Hejer: "WOLips and WO5.2.4"

    The strange thing in this case is that we have checked a WO project set
    up for eclipse on 4 different osx powerbooks and on two of them eclipse
    copy the .properties file as it should into the
    build/myproj.woa/Contents/Resources but on the third one it doesn't.

    We can't see any differences between the first two and the third one
    that could make this happend. I guess there is a difference there, just
    we don't see it :)

    TIA for any ideas on where to look for differences :)

    -Kaj :)

    On 4. mai 2005, at 14.35, gbrown wrote:

    > I am not sure if all the bugs are out of the incremental builder, so I
    > use ant builds when things go wrong, and ant seems to work!
    >
    >
    >
    >
    >
    >> Things appear to work when I switch to "USE ANT (BUILD.XML)
    >> instead of ex^H^H INCREMENTAL.
    >>
    >> This also fixes the problem I had where wolips builds couln't find
    >> the Properties file
    >> Maybe related to the resouce manager?
    >>
    >> FYI: Mac osx panther, latest eclipse and wolips.
    >>
    >> James Cicenia wrote:
    >>
    >>> Make sure your resources.include.patternset is set to include it.
    >>> You will find this
    >>> under the woproject folder.
    >>>
    >>> - James Cicenia
    >>>
    >>> On Apr 7, 2005, at 10:58 AM, gbrown wrote:
    >>>
    >>>> Hello,
    >>>>
    >>>> I am trying to switch from xcode to wolips :>)
    >>>>
    >>>> But.....there are some problems. Under xcode, the WOResourceManager
    >>>> could find files, but under wolips it can't. The following snippet
    >>>> works with xcode, but not wolips:
    >>>> WOResourceManager rm = resourceManager();
    >>>> url = rm.pathURLForResourceNamed(LOG4JCONFIGFILE, null,
    >>>> null);
    >>>> if (url != null) {
    >>>> // should resetConfiguration()?
    >>>>
    >>>> PropertyConfigurator.configureAndWatch(url.getFile());
    >>>> }
    >>>> appLog.info("Log4j App logger has been initialized in "+
    >>>> this.name() + "!!");
    >>>> The resource manager can't find the log4j config file, which is
    >>>> right under the project directory. This is with Macosx, latest
    >>>> eclipse/wolips. The launch config is the default setup.
    >>>>
    >>>> Any ideas? Thanks!
    >>>>
    >>>>
    >>>
    >
    >
    > Jon Kleiser wrote:
    >
    >> I'm running Eclipse/WOLips on two differnet Macs A and B, both using
    >> Eclipse 3.0.1, WOLips 1.1.0.102 and Mac OS 10.3.8. I have tried to
    >> confogure these two systems as equal as possible, but on the B Mac,
    >> files with names ending with .properties (build.properties and two
    >> files used for localized texts) don't make it into the
    >> build/...woa/Contents/Resources when building. How can I fix this?
    >>
    >> I also notice that, on the B Mac, some files (PB.project, build.xml)
    >> are not listed in the Package Explorer when I expand the project, bur
    >> that may not (?) have anything to do with the above problem ...
    >>
    >> /Jon
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed May 04 2005 - 15:52:56 EDT