Re: SVN and WOLips Error

From: Ashley Aitken (mrhatke..ac.com)
Date: Thu Aug 12 2004 - 12:27:41 EDT

  • Next message: Ashley Aitken: "Re: SVN and WOLips Error"

    Howdy (again) All,

    I've noticed one problem with the newly checked out project (which may
    be caused by the error below or the earlier one or Subversion or me).

    The PB.project file is not picking up the "Properties" file in the root
    of the project, or even when I hand enter the file into the PB.project
    file, it is not copying it over to the build products directory.

    The app runs (seemingly ok) but Log4J reports it has not been
    initialized (because, I guess the Properties files has not been found).

    I should have mentioned I am using Project WONDER (version2.0)
    ERXApplication from er.extensions to setup the logging and properties.

    Something is wrong, does anyone have any ideas?

    Thanks in advance,
    Ashley.

    PS A couple of people have asked - I am using the binary version
    (outdated) of Subversion installed by Fink (client and server) and
    Subclipse 0.9.12 (I think). It all seems to work pretty well and the
    integration of Subversion and Eclipse is sweet.

    On 12/08/2004, at 5:13 PM, Ashley Aitken wrote:

    >
    > I don't think this error had anything to do with (or caused) the build
    > path to be wrong - I was misattributing it to an error in a previously
    > closed project that was now showing up.
    >
    > Looking in the error log I also see a number of:
    >
    > An error occured while reading/saving the PB.project in project:
    > RCEnterpriseRepository
    >
    > java.lang.IllegalArgumentException: Attempted to beginRule: R/, does
    > not match outer scope rule: P/RCEnterpriseRepository
    > at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:58)
    > at
    > org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:
    > 106)
    > at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:200)
    > at
    > org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:
    > 80)
    > at
    > org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:
    > 170)
    > at
    > org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.jav
    > a:95)
    > at
    > org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspac
    > e.java:1628)
    > at
    > org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java
    > :1218)
    > at org.eclipse.core.internal.resources.File.refreshLocal(File.java:306)
    > at
    > org.objectstyle.wolips.datasets.project.PBProjectUpdater._tryRefresh(PB
    > ProjectUpdater.java:292)
    > at
    > org.objectstyle.wolips.datasets.project.PBProjectUpdater._saveChanges(P
    > BProjectUpdater.java:277)
    > at
    > org.objectstyle.wolips.datasets.project.PBProjectUpdater.syncFilestable
    > (PBProjectUpdater.java:403)
    > at
    > org.objectstyle.wolips.datasets.listener.ResourceChangeListener.runInWo
    > rkspace(ResourceChangeListener.java:115)
    > at
    > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWo
    > rkspaceJob.java:38)
    > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    >
    > Probably caused when I tried to Update the PB.project file.
    >
    > I also cleaned the projects etc.
    >
    > The projects now seem to be ok.
    >
    > Cheers,
    > Ashley.
    >
    >
    > On 12/08/2004, at 3:53 PM, Ashley Aitken wrote:
    >
    >>
    >> Howdy All,
    >>
    >> I checked a WOLips Project into SVN (using Subclipse and excluding
    >> the build folder and classes folder)
    >> I created a completely new workspace.
    >> I checked the WOLips Project out of SVN into the new workspace.
    >>
    >> And got this error:
    >>
    >> An internal error occurred during: "WOLips Project Files Updates
    >> (Java)".
    >> java.lang.IllegalArgumentException: Attempted to beginRule: R/, does
    >> not match outer scope rule: P/RCWebObjects
    >> org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:58)
    >> org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:
    >> 106)
    >> org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:200)
    >> org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:
    >> 80)
    >> org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:
    >> 170)
    >> org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.ja
    >> va:95)
    >> org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspa
    >> ce.java:1628)
    >> org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.jav
    >> a:1218)
    >> org.objectstyle.wolips.datasets.adaptable.ProjectPatternsets.createAnt
    >> Folder(ProjectPatternsets.java:129)
    >> org.objectstyle.wolips.jdt.ant.UpdateOtherClasspathIncludeFiles.buildI
    >> ncludeFiles(UpdateOtherClasspathIncludeFiles.java:159)
    >> org.objectstyle.wolips.jdt.ant.UpdateOtherClasspathIncludeFiles.execut
    >> e(UpdateOtherClasspathIncludeFiles.java:89)
    >> org.objectstyle.wolips.jdt.listener.ResourceChangeListener.examineReso
    >> urce(ResourceChangeListener.java:169)
    >> org.objectstyle.wolips.jdt.listener.ResourceChangeListener.visit(Resou
    >> rceChangeListener.java:124)
    >> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.ja
    >> va:68)
    >> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.ja
    >> va:77)
    >> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.ja
    >> va:77)
    >> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.ja
    >> va:49)
    >> org.objectstyle.wolips.jdt.listener.ResourceChangeListener.runInWorksp
    >> ace(ResourceChangeListener.java:101)
    >> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalW
    >> orkspaceJob.java:38)
    >> org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    >>
    >> Same thing happens for all WOLips projects.
    >>
    >> Any ideas?
    >>
    >> I am not sure if this is really a problem, the project looks ok, but
    >> it won't build and the build path seems to have been trashed (it
    >> can't find com.webobjects).
    >>
    >> Did I lose something important when I checked the project into SVN?
    >>
    >> I am using WO Lips 1.1 Beta 2, WO 5.2.3, MacOSX 10.3.5

    --
    Ashley Aitken
    Perth, Western Australia
    mrhatken at mac dot com
    



    This archive was generated by hypermail 2.0.0 : Thu Aug 12 2004 - 12:28:06 EDT