You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2009/09/01 21:27:56 UTC

[Db-derby Wiki] Update of "DerbySnapshotOrRelease" by MyrnavanLunteren

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by MyrnavanLunteren:
http://wiki.apache.org/db-derby/DerbySnapshotOrRelease

------------------------------------------------------------------------------
   1. [[Anchor(CreateDistros)]]Create the distributions for release by running:
  
    {{{svn up
+ ant prepareforrelease
+ cd tools/release
+ ant release
+ ant sign}}}
+ 
+   (!) Note: ant prepareforrelease does  a few basic checks, and then:
- ant clobber
+  {{{ant clobber
  rm -rf jars javadoc snapshot  # really clean
  rm tools/release/*.zip tools/release/*.tar.gz  # really,
  rm tools/release/*.md5 tools/release/*.asc     # really clean
@@ -311, +317 @@

  ant clobber
  ant insane
  ant -Dsane=false snapshot
- ant publishedapi
+ ant publishedapi}}}
+ 
- cd tools/release
- ant release
- ant sign}}}
  
    You will need to enter your PGP passphrase several times as the release distributions are signed. 
  
@@ -822, +826 @@

  
   1. In the top-level directory of the source code tree, do:
     {{{
- # If you have built release artifacts or snapshots before, clean up. Also
+ ant prepareforrelease
+ cd tools/release
+ ant release
+    }}}
+ 
+ # prepareforrelease will actually do:
- # clean up jars and javadoc:
+ # clean up classes, jars and javadoc:
  rm -rf jars javadoc snapshot                   # clean.
  rm -rf tools/release/crlf/ tools/release/lf/   # clean more.
  rm tools/release/maintversion.properties       # really clean.
  rm tools/release/*.zip tools/release/*.tar.gz  # really,
  rm tools/release/*.md5 tools/release/*.asc     # really clean
- 
- # In any case do this:
  ant clobber
  ant sane ; ant all ; ant buildjars   # for lib-debug
  ant clobber
  ant insane
  ant -Dsane=false snapshot
- cd tools/release
- ant release
-    }}}
  
  The release artifacts should now be available as {{{.zip}}} and {{{.tar.gz}}} files in the {{{tools/release/}}} directory.