Re: SVN and WOLips Error

From: ulrich köster (ulric..bjectstyle.org)
Date: Thu Aug 12 2004 - 13:05:25 EDT

  • Next message: Brendan Duddridge: "Re: SVN and WOLips Error"

    Hi Ashley,

    it's very likely that the PB.project in RCEnterpriseOfficeServer is broken.
    Could you check the commas.

    If my memories are correct, you've modified this file manually.

    Ulrich
    ----- Original Message -----
    From: "Ashley Aitken" <mrhatke..ac.com>
    To: <woproject-de..bjectstyle.org>
    Sent: Thursday, August 12, 2004 6:57 PM
    Subject: Re: SVN and WOLips Error

    >
    > Ok, last clue for anyone out there who may be listening ;-)
    >
    > I tried to WOLips > Include as resource the "Properties" file (hoping
    > that would fix my problem).
    >
    > I got the "An internal error occurred during: "WOLips Project Files
    > Updates (Java)"." mentioned below.
    >
    > Java.lang.IllegalArgumentException: Attempted to beginRule: R/, does
    > not match outer scope rule: P/RCEnterpriseOfficeServer
    > 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.java
    > :95)
    > at
    > org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace
    > .java:1628)
    > at org.eclipse.core.internal.resources.File.setContents(File.java:330)
    > at org.eclipse.core.internal.resources.File.setContents(File.java:423)
    > at
    > org.objectstyle.wolips.jdt.ant.UpdateOtherClasspathIncludeFiles.buildInc
    > ludeFiles(UpdateOtherClasspathIncludeFiles.java:153)
    > at
    > org.objectstyle.wolips.jdt.ant.UpdateOtherClasspathIncludeFiles.execute(
    > UpdateOtherClasspathIncludeFiles.java:89)
    > at
    > org.objectstyle.wolips.jdt.listener.ResourceChangeListener.examineResour
    > ce(ResourceChangeListener.java:169)
    > at
    > org.objectstyle.wolips.jdt.listener.ResourceChangeListener.visit(Resourc
    > eChangeListener.java:124)
    > at
    > org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java
    > :68)
    >
    > and three (3) of these "An error occured while reading/saving the
    > PB.project in project: RCEnterpriseOfficeServer"
    >
    > java.lang.IllegalArgumentException: Attempted to beginRule: R/, does
    > not match outer scope rule: P/RCEnterpriseOfficeServer
    > 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.java
    > :95)
    > at
    > org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace
    > .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(PBP
    > rojectUpdater.java:292)
    > at
    > org.objectstyle.wolips.datasets.project.PBProjectUpdater._saveChanges(PB
    > ProjectUpdater.java:277)
    > at
    > org.objectstyle.wolips.datasets.project.PBProjectUpdater.syncFilestable(
    > PBProjectUpdater.java:403)
    > at
    > org.objectstyle.wolips.datasets.listener.ResourceChangeListener.runInWor
    > kspace(ResourceChangeListener.java:115)
    > at
    > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWor
    > kspaceJob.java:38)
    > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    >
    > So it looks like something is wrong ;-) I'm not sure if this is
    > related to Subversion/Subclipse ...
    >
    > Any help appreciated.
    >
    > Cheers,
    > Ashley.
    >
    >
    >
    > On 13/08/2004, at 12:27 AM, Ashley Aitken wrote:
    >
    > >
    > > 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.ja
    > >> va:95)
    > >> at
    > >> org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspa
    > >> ce.java:1628)
    > >> at
    > >> org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.jav
    > >> a:1218)
    > >> at
    > >> org.eclipse.core.internal.resources.File.refreshLocal(File.java:306)
    > >> at
    > >> org.objectstyle.wolips.datasets.project.PBProjectUpdater._tryRefresh(P
    > >> BProjectUpdater.java:292)
    > >> at
    > >> org.objectstyle.wolips.datasets.project.PBProjectUpdater._saveChanges(
    > >> PBProjectUpdater.java:277)
    > >> at
    > >> org.objectstyle.wolips.datasets.project.PBProjectUpdater.syncFilestabl
    > >> e(PBProjectUpdater.java:403)
    > >> at
    > >> org.objectstyle.wolips.datasets.listener.ResourceChangeListener.runInW
    > >> orkspace(ResourceChangeListener.java:115)
    > >> at
    > >> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalW
    > >> orkspaceJob.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.j
    > >>> ava:95)
    > >>> org.eclipse.core.internal.resources.Workspace.prepareOperation(Worksp
    > >>> ace.java:1628)
    > >>> org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.ja
    > >>> va:1218)
    > >>> org.objectstyle.wolips.datasets.adaptable.ProjectPatternsets.createAn
    > >>> tFolder(ProjectPatternsets.java:129)
    > >>> org.objectstyle.wolips.jdt.ant.UpdateOtherClasspathIncludeFiles.build
    > >>> IncludeFiles(UpdateOtherClasspathIncludeFiles.java:159)
    > >>> org.objectstyle.wolips.jdt.ant.UpdateOtherClasspathIncludeFiles.execu
    > >>> te(UpdateOtherClasspathIncludeFiles.java:89)
    > >>> org.objectstyle.wolips.jdt.listener.ResourceChangeListener.examineRes
    > >>> ource(ResourceChangeListener.java:169)
    > >>> org.objectstyle.wolips.jdt.listener.ResourceChangeListener.visit(Reso
    > >>> urceChangeListener.java:124)
    > >>> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.j
    > >>> ava:68)
    > >>> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.j
    > >>> ava:77)
    > >>> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.j
    > >>> ava:77)
    > >>> org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.j
    > >>> ava:49)
    > >>> org.objectstyle.wolips.jdt.listener.ResourceChangeListener.runInWorks
    > >>> pace(ResourceChangeListener.java:101)
    > >>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(Internal
    > >>> WorkspaceJob.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 - 13:11:16 EDT