ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Krause (JIRA)" <>
Subject [jira] [Commented] (IVYDE-299) IvyDE is making .classpath file writable and rewriting it
Date Tue, 05 Jun 2012 11:15:23 GMT


Sebastian Krause commented on IVYDE-299:

*@Nicolas:* Unfortunately even with the ${ivyproject_loc} variable it seems impossible to
leave the .classpath file in a VCS if you have the project checked out under different names.
Let's say you have "myproject" checked out under the project name "myproject-dev" and a second
project "myproject-stable" at a different revision. The classpath entry will look something
like this:

bq. <classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=myproject-stable&amp;ivyXmlPath=ivy.xml&amp;confs=*&amp;ivySettingsPath=%24%7Bivyproject_loc%7D%2Fivysettings.xml&amp;loadSettingsOnDemand=false&amp;propertyFiles="/>

Now in the other project IvyDE will always change the "project" parameter into "myproject-dev"
and my VCS system will try to check it in. The only current solution so far it to simply let
the VCS completely ignore the classpath file.
> IvyDE is making .classpath file writable and rewriting it
> ---------------------------------------------------------
>                 Key: IVYDE-299
>                 URL:
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.2.0.beta1
>            Reporter: Eric Milles
>         Attachments: classpath.txt
> The latest beta (2.2.0b1) is continually rewriting the project's .classpath file.  This
is problematic for two reasons: 1) Our project is submitted to source control, so the rewriting
causes a pending change for the .classpath file and 2) We are manually editing the .classpath
file to add useful comments, which are being lost when the file is written again.  Reverting
to 2.1.0 and the issue goes away.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message