public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-vcs/statcvs/files: statcvs-0.4.0-build.xml.patch statcvs-0.4.0-r1-build.xml.patch statcvs-0.4.0-external-jtreemap.patch statcvs-0.5.0-build.xml.patch
@ 2010-03-05 17:50 Serkan Kaba (serkan)
  0 siblings, 0 replies; only message in thread
From: Serkan Kaba (serkan) @ 2010-03-05 17:50 UTC (permalink / raw
  To: gentoo-commits

serkan      10/03/05 17:50:53

  Added:                statcvs-0.4.0-build.xml.patch
                        statcvs-0.4.0-r1-build.xml.patch
                        statcvs-0.4.0-external-jtreemap.patch
                        statcvs-0.5.0-build.xml.patch
  Log:
  Move to dev-vcs
  (Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)

Revision  Changes    Path
1.1                  dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch?rev=1.1&content-type=text/plain

Index: statcvs-0.4.0-build.xml.patch
===================================================================
diff -Nur statcvs-0.4.0/build.xml statcvs-0.4.0_patched/build.xml
--- statcvs-0.4.0/build.xml	2008-04-21 18:33:32.000000000 +0300
+++ statcvs-0.4.0_patched/build.xml	2008-09-19 22:22:32.000000000 +0300
@@ -148,11 +148,8 @@
       </classpath>
     </java>
   </target>
-  <target name="jar" depends="test">
+  <target name="jar">
     <!-- Creates an executable jar file for the project -->
-    <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
-    <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
-    <unjar src="${lib}/jdom.jar" dest="${build}" />
     <mkdir dir="${dist}" />
     <jar jarfile="${dist}/${project.jar}" basedir="${build}">
       <manifest>



1.1                  dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch?rev=1.1&content-type=text/plain

Index: statcvs-0.4.0-r1-build.xml.patch
===================================================================
diff -Nur statcvs-0.4.0/build.xml statcvs-0.4.0_patched/build.xml
--- statcvs-0.4.0/build.xml	2008-04-21 18:33:32.000000000 +0300
+++ statcvs-0.4.0_patched/build.xml	2009-01-28 00:21:06.000000000 +0200
@@ -19,7 +19,6 @@
   <property name="cvs.log" value="cvs.log" />
   <property environment="env" />
   <path id="project.class.path">
-    <pathelement path="${java.class.path}" />
     <fileset dir="${lib}">
       <include name="**/*.jar" />
     </fileset>
@@ -148,11 +147,8 @@
       </classpath>
     </java>
   </target>
-  <target name="jar" depends="test">
+  <target name="jar">
     <!-- Creates an executable jar file for the project -->
-    <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
-    <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
-    <unjar src="${lib}/jdom.jar" dest="${build}" />
     <mkdir dir="${dist}" />
     <jar jarfile="${dist}/${project.jar}" basedir="${build}">
       <manifest>



1.1                  dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch?rev=1.1&content-type=text/plain

Index: statcvs-0.4.0-external-jtreemap.patch
===================================================================
diff -Nur statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java
--- statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java	2008-04-14 21:35:00.000000000 +0300
+++ statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java	2008-09-20 20:46:05.000000000 +0300
@@ -20,7 +20,8 @@
 package net.sf.statcvs.output;
 
 import java.io.BufferedWriter;
-import java.io.File;
+import java.io.File;
+import java.io.FileInputStream;
 import java.io.FileWriter;
 import java.io.IOException;
 import java.io.InputStream;
@@ -92,7 +93,7 @@
     }
 
     private String getApplet() {
-        return "<applet archive=\"./" + Messages.getString("JTREEMAP_JAR") + "\" code=\"net.sf.jtreemap.swing.example.JTreeMapAppletExample\""
+        return "<applet archive=\"./jtreemap.jar\" code=\"net.sf.jtreemap.swing.example.JTreeMapAppletExample\""
                 + " width=\"940\" height=\"600\"><param name=\"dataFile\" value=\"" + REPO_FILE + "\"/>" + "<param name=\"viewTree\" value=\"true\"/>"
                 + "<param name=\"showWeight\" value=\"true\"/>" + "<param name=\"valuePrefix\" value=\"Change:\"/>"
                 + "<param name=\"weightPrefix\" value=\"LOC:\"/>" + "<param name=\"dataFileType\" value=\"xml\"/>"
@@ -102,7 +103,7 @@
     private void buildXmlForJTreeMap() {
         BufferedWriter out = null;
         try {
-            copyJar(Messages.getString("JTREEMAP_JAR"));
+            copyJar("jtreemap.jar");
             out = new BufferedWriter(new FileWriter(ConfigurationOptions.getOutputDir() + REPO_FILE));
             out.write("<?xml version='1.0' encoding='ISO-8859-1'?>\n");
             // out.append("<!DOCTYPE root SYSTEM \"TreeMap.dtd\" >\n");
@@ -129,7 +130,7 @@
     private void copyJar(final String jtreemapJar) throws IOException {
         InputStream stream = null;
         try {
-            stream = RepoMapPageMaker.class.getResourceAsStream(WEB_FILE_PATH + jtreemapJar);
+            stream = new FileInputStream("/usr/share/jtreemap/lib/" + jtreemapJar);
             if (stream != null) {
                 FileUtils.copyFile(stream, new File(ConfigurationOptions.getOutputDir() + jtreemapJar));
             } else {



1.1                  dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch?rev=1.1&content-type=text/plain

Index: statcvs-0.5.0-build.xml.patch
===================================================================
diff -Nur statcvs-0.5.0/build.xml statcvs-0.5.0_patched/build.xml
--- statcvs-0.5.0/build.xml	2009-05-09 21:33:32.000000000 +0300
+++ statcvs-0.5.0_patched/build.xml	2009-05-11 22:29:19.000000000 +0300
@@ -19,7 +19,6 @@
   <property name="cvs.log" value="cvs.log" />
   <property environment="env" />
   <path id="project.class.path">
-    <pathelement path="${java.class.path}" />
     <fileset dir="${lib}">
       <include name="**/*.jar" />
     </fileset>
@@ -149,11 +148,8 @@
     </java>
   </target>
   <target name="release" depends="clean,jar,javadoc,zip,zip.source"/>
-  <target name="jar" depends="test">
+  <target name="jar">
     <!-- Creates an executable jar file for the project -->
-    <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
-    <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
-    <unjar src="${lib}/jdom.jar" dest="${build}" />
     <mkdir dir="${dist}" />
     <jar jarfile="${dist}/${project.jar}" basedir="${build}">
       <manifest>






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-05 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 17:50 [gentoo-commits] gentoo-x86 commit in dev-vcs/statcvs/files: statcvs-0.4.0-build.xml.patch statcvs-0.4.0-r1-build.xml.patch statcvs-0.4.0-external-jtreemap.patch statcvs-0.5.0-build.xml.patch Serkan Kaba (serkan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox