Re: jgit standalone client on OpenVMS works (somewhat)
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- May 3, 2009, 15:15 UTC
- Message-ID
- <200905031715.22085.robin.rosenberg.lists@dewire.com>
- In-Reply-To
- <3f1ae6620904300839n48e88143y2ae1694472f712a4@mail.gmail.com>
torsdag 30 april 2009 17:39:36 skrev Ben Armstrong <BArmstrong@dymaxion.ca>:
Show 6 quoted lines
> I am happy to report that the jgit standalone client works (somewhat) on > OpenVMS/Alpha, a non-POSIX platform for which no C git port exists. I > understand that not all functionality of the C client is supported yet, but > for limited use, and supplemented by using the C client on a PC, I may be > able to get away with this. At least being able to do a 'git clone' is > encouraging.
O_o
Not sure what to say here.. cool. I never even thought of VMS as a Java platform.
> The only problem I have found so far is that if a tag has dots in it and the > last dotted expression looks like a VMS file version number, it is > interpreted as such instead of part of the filepath used to represent it > under .git/refs/tags
Show 8 quoted lines
> 3. On VMS, set up the jgit command environment appropriately: > > $ define jgit_home dsa0:[dymax.jgit] > $ jgit==java+" -cp /jgit_home/jgit ""org.spearce.jgit.pgm.Main""" > $ git=="pipe define/user JAVA$FILENAME_CONTROLS 8 ; "+- > "define/user DECC$ARGV_PARSE_STYLE ENABLE ; "+- > "define/user DECC$EFS_CASE_PRESERVE ENABLE ; "+- > "define/user DECC$EFS_CHARSET ENABLE ; jgit"
After googling a little, I think you got JAVA$FILENAME_CONTROLS wrong. 8 is for basic unix filenames. But you also need %x00200000 (or possibly %x00100000) as well. See http://h18012.www1.hp.com/java/documentation/1.5.0/ivms/docs/user_guide.html#unix_style
That's my guess.... I wouldn't dare to tell you how to get the exact syntax right, My VMS skillz are not what they once were.
Come to think of it, the first VMS machine I used was named "Linus", named after a widely known character (in a comic strip called Snoopy). </anecdotes>
-- robin