facebook

Subversive plug-in comitting Web project "classes"

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #309962 Reply

    enginsol
    Participant

    I am trying to use subversion for CM vs. CVS. I would like to do this in an integrated way with MyEclipse IDE, as I have done in the past w/ the built in CVS “Team” support. I loaded the Subversive plug-in in MyEclipse IDE 8.5. Since Subversive isn’t part of the MyEclipse installation (?why not?) – I added it using the new Help -> MyEclipse Configuration Center ->Software -> Quick-Add Popular Plug-ins. This all went without a hitch. (It looks like it adds both version 1.5 and 1.6 of Polarion Subversive SVN JavaHL Connector and SVN Kit Connector as well as Eclipse.org Subversive SVN Team Provider * (Incubator) plug-ins as part of the “quick install”.)

    To get familiar with the plug-in. I created a basic Web project and added some basic Java files under the “src” folder and a few JSPs, etc. under WebRoot as you would normally expect. I went ahead and attempted to share this project using SVN using the Team -> Share Project…, select SVN, select my existing SVN repository, and select “Simple Mode” to commit the project under the SVN root, as the project name, also creating trunk, tags and branches folders under the project. Again, this all seems to go well. The problem is, at this point, if I go to Repository Exploring view, I see that not only the <project>/WEB-INF/classes folder is under the SVN trunk, which is OK since we want the folder itself, but then all the subfolders (packages) and actual “*.class” files are versioned as well! My general understanding from various web forums, etc. it that Subversive should add the proper svn:ignore property to keep the contents of “classes” from being managed . This is the behavior of Team CVS, as expected – I never have to do anything explicitly to ignore these files. As you know, ” the “classes” folder is always hidden from view in the MyEclipse and can’t really be selected/modified/etc. from that perspective. So I don’t know how I would even set ‘ignore” or anything else on that folder without going to command line or something…

    I found all this out because I once you create, say, a tagged version of the project and then try and switch back and forth between the trunk and tag, you get an error from subversion indicating that it can’t copy in the repository’s copy of package/class files because uncommitted versions are present in the workspace. The uncommitted versions of the files are present because eclipse recompiles everything and “rebuilds” the contents of the classes folder.

    I did find some older possibly related posts maybe related to this, indicating there may be an issue with the “JavaScript Validation” capabilities specifically associated with Web Projects. I think it indicated you would have to “manually” disable the JS Validation. Not sure if this is related/correct. Also, if this is the case, is there a true solution in the works.

    Finally, probably not the proper place for this, but – could I add my vote for please adding fully integrated support for SVN in MyEclipse. It seems everyone talks about the demise of CVS and the rise of SVN, but if I have to manage projects outside of my IDE or worry about workarounds/compatibility/etc., I would rather stick w/ the old CVS until SVN (in MyEclipse) was stable. I have few cycles to deal with plug-in integration – that’s the reason I go w/ MyEclipse in the first place (and generally very happy with it).

    #309985 Reply

    enginsol,
    I shall escalate this to the dev team member. They will get back to you on this.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Subversive plug-in comitting Web project "classes"

You must be logged in to post in the forum log in