• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

CVS and stable release source discrepancies

Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey everyone, I have been trying to get the latest version of the code from CVS by following the instructions under the "Community" link on the main page, and it seems that there are some missing source files.

For example, src/net/jforum/model is completely empty whereas the corresponding directory under the release zipfile (JForum-2.1.4.zip) contains the relevant Java files.

The command I used to checkout the repository was,

I'd really appreciate if someone could clarify what I'm missing here, or what the issue is.


EDIT: a relevant followup question is, how can a release be cut from the CVS source tree? Is the build.xml file the only necessary component here? I see that there is a "createZip" target in the file but just want to confirm this.
[originally posted on jforum.net by Vlad]
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

Usually, to re-create one old version from CVS, one should retrieve all the files that comprised the version using the cvs tag or branch that was used to signal the release.

Looking at the JForum CVS, it seems Rafael is using cvs tags V_2_1_4, V_2_1_3, V_2_1_2, V2_1... to signal versions, so supposedly, if you retrieve the CVS tree using one of those tags, you should be able to re-create the desired version.

If you knew the date a version was released, you could also try "by date", but that's not as reliable.

So, supposedly, if you use something like:

you should be able to retrieve jforum version 2.1.4.

I say supposedly because it depends on how things are organised in CVS, but it's quite likely.


Edit: After that is when you use Ant and the build.xml file to actually rebuild JForum from the source files.
[originally posted on jforum.net by GreenEyed]
    Bookmark Topic Watch Topic
  • New Topic