Last updated March 19, 2012 16:00, by dr2chase
Feedicon  

How to (Java.net specific)

join java.net

subscribe to a mailing list

If not already subscribed (subscribers carried over from the old site), you'll need to first join java.net to subscribe. Then, http://java.net/projects/projectfortress/lists/

modify a mailing list subscription

As a java.net user, you should see options for mail/digest and unsubscription. It is also possible to unsubscribe by sending an email to LIST-request@projectfortress.java.net with subject or body "unsubscribe" (where "LIST" is one of the lists, e.g., announce, dev, users, builds). If your mailing list address uses the "+annotation" convention for filtering and spam checking (e.g, "someone+nospam@example.com"), email commands only work if they are from that same address. However, when they fail, they generate an administrator-visible error, so the right thing usually happens eventually.

download source code

Usually, this suffices to obtain a copy of the Project Fortress source repository:

 hg clone https://hg.java.net/hg/projectfortress~sources PF

where PF is the name of the local directory for the root of the checkout.

However, there's a bug in Mercurial version 1.7.3 that causes it to reject the certificate from hg.java.net because its main name is 'www.java.net'. Therefore, include the option " --config 'web.cacerts=' ", like so

 hg --config 'web.cacerts=' clone https://hg.java.net/hg/projectfortress~sources PF

In later versions, the option to work around this bug (not yet fixed) is to use the option "--insecure"

 hg clone  --insecure https://hg.java.net/hg/projectfortress~sources PF

Pushing changes back to the site repository requires your user name and password. Using ssh access (described below) with appropriately configured public keys will "just work". Pushing changes also requires at least "developer" membership in the project (this requires a completed Oracle Contributor Agreement).

join the project

To join as an Observer (which currently allows wiki editing, ticket filing, and commenting), go here and click the button marked "Bookmark Project"

Pushes to the source repository require Developer status, which in turn requires Oracle Contributor Agreement paperwork in order to ensure copyrights are assigned appropriately.

ssh access to source code

Uploading changes back to the repository ("hg push") with supplying user name and password on every interaction requries ssh access. For this to work, you need a java.net account, and you need to copy your ssh public keys to your private profile. You also need at least "developer" membership in the project (this requires a completed Oracle Contributor Agreement). WARNING: There is some bug, feature, interaction, or behavior between Java.net and Mercurial 2.1 and 2.1.1 that prevents this from working. Use Mercurial 2.0.2 or earlier.

Then, use the url "ssh://YOURID@hg.java.net/projectfortress~sources"

 hg clone ssh://YOURID@hg.java.net/projectfortress~sources PF

where PF is the name of the local directory for the root of the checkout.