Skip to content

Commit 332c8a4

Browse files
committed
Added git commands batch files
1 parent 6a61948 commit 332c8a4

6 files changed

Lines changed: 21 additions & 1 deletion

File tree

build.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@
3535

3636
<target name="buildjar" depends="init">
3737

38-
<jar destfile="${jarfile}" basedir="${classes}">
38+
<manifest file="MANIFEST.MF">
39+
<!--
40+
<attribute name="Implementation-Version" value="${version.number}" />
41+
<attribute name="Trusted-Library" value="true" />
42+
-->
43+
<attribute name="Built-By" value="${user.name}"/>
44+
</manifest>
45+
46+
<jar destfile="${jarfile}" basedir="${classes}" manifest="MANIFEST.MF">
3947

4048
<include name="org/json/**/*.class" />
4149
<!--

git-fetch-upstream.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:: http://bradlyfeeley.com/2008/09/03/update-a-github-fork-from-the-original-repo/
2+
:: http://stackoverflow.com/questions/3903817/pull-new-updates-from-original-github-repository-into-forked-github-repository
3+
git fetch upstream

git-merge.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:: http://bradlyfeeley.com/2008/09/03/update-a-github-fork-from-the-original-repo/
2+
:: http://stackoverflow.com/questions/3903817/pull-new-updates-from-original-github-repository-into-forked-github-repository
3+
git merge upstream/master master

git-pull-upstream-master.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:: http://stackoverflow.com/questions/3903817/pull-new-updates-from-original-github-repository-into-forked-github-repository
2+
git pull upstream master

git-remote-add.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
:: http://bradlyfeeley.com/2008/09/03/update-a-github-fork-from-the-original-repo/
2+
:: http://stackoverflow.com/questions/3903817/pull-new-updates-from-original-github-repository-into-forked-github-repository
3+
::git remote add --track master douglascrockford-JSON-java git://github.com/douglascrockford/JSON-java.git
4+
git remote add --track master upstream git://github.com/douglascrockford/JSON-java.git

org-json.jar

24.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)