[OS-JIRA] Created: (WOL-710) .classpath files all touched at Eclipse startup

From: Bill Michell (JIRA) ("Bill)
Date: Wed Jan 16 2008 - 04:51:38 EST

  • Next message: Archibal Singleton: "BUG: Preferences -> WOLips -> HTML Editor -> Code Assist -> Templates -> New... does nothing"

    .classpath files all touched at Eclipse startup
    -----------------------------------------------

                     Key: WOL-710
                     URL: http://issues.objectstyle.org/jira/browse/WOL-710
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
        Affects Versions: WOLips 3.3.2.* (nightly build please specify)
             Environment: Windows XP, Java 1.6.0_03, Eclipse 3.3.1.1, WOLips 3.3.4762, Perforce P4WSAD 2007.3.601, WebObjects 5.3.1

                Reporter: Bill Michell

    Whenever I start Eclipse I get around a dozed dialog boxes with "WebObjects Frameworks Error while updating classpath" in the title bar, and the same number of entries in the log file with this basic shape:

    !ENTRY org.eclipse.ui.ide 4 0 2008-01-16 09:33:26.528
    !MESSAGE java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/CPS2DTextEnterpriseObjects
    !STACK 0
    java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/CPS2DTextEnterpriseObjects
            at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
            at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:122)
            at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:232)
            at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:58)
            at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:225)
            at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:117)
            at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1744)
            at org.eclipse.core.internal.resources.File.setContents(File.java:353)
            at org.eclipse.jdt.internal.core.JavaProject.setSharedProperty(JavaProject.java:2871)
            at org.eclipse.jdt.internal.core.JavaProject.saveClasspath(JavaProject.java:2636)
            at org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation(SetClasspathOperation.java:59)
            at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
            at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
            at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:785)
            at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2801)
            at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2832)
            at org.objectstyle.wolips.jdt.classpath.ContainerInitializer$1.execute(ContainerInitializer.java:192)
            at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
            at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
            at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
            at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

    All the classpath files end up being touched, and hence checked out by my Team Provider (Perforce P4WSAD) even though there are no changes in them.

    Note that the messages still appear, even if the files are already checked out (and hence the .classpath files are not read-only).

    So this is actually 2 bugs, I think. The first is that the files are being touched even though they are unchanged. The second is that there is a problem with the rule prefix ("R/" and not "P/") - which I think has something to do with my using Perforce.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Wed Jan 16 2008 - 04:52:26 EST