Author: fhanik
Date: Thu Jun 28 12:24:41 2007
New Revision: 551672

URL: http://svn.apache.org/viewvc?view=rev&rev=551672
Log:
Depdendency download, readme with info regards to the project

Added:
    tomcat/sandbox/bayeux/README.txt
Modified:
    tomcat/sandbox/bayeux/build/build.properties.default
    tomcat/sandbox/bayeux/build/build.xml

Added: tomcat/sandbox/bayeux/README.txt
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/bayeux/README.txt?view=auto&rev=551672
==============================================================================
--- tomcat/sandbox/bayeux/README.txt (added)
+++ tomcat/sandbox/bayeux/README.txt Thu Jun 28 12:24:41 2007
@@ -0,0 +1,5 @@
+Bayeux definition can be found at 
http://svn.xantus.org/shortbus/trunk/bayeux/bayeux.html
+JSON structure - http://www.json.org/ and 
http://www.ietf.org/rfc/rfc4627.txt?number=4627
+StringTree implementation for JSON parsing - 
http://www.stringtree.org/stringtree-json.html
+
+

Modified: tomcat/sandbox/bayeux/build/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/bayeux/build/build.properties.default?view=diff&rev=551672&r1=551671&r2=551672
==============================================================================
--- tomcat/sandbox/bayeux/build/build.properties.default (original)
+++ tomcat/sandbox/bayeux/build/build.properties.default Thu Jun 28 12:24:41 
2007
@@ -1,30 +1,30 @@
-# -----------------------------------------------------------------------------
-# build.properties.sample
-#
-# This is an example "build.properties" file, used to customize building 
-# Tomcat for your local environment.  It defines the location of all external
-# modules that Tomcat depends on.  Copy this file to "build.properties"
-# in the top-level source directory, and customize it as needed.
-#
-# $Id: build.properties.default 526202 2007-04-06 15:44:38Z remm $
-# -----------------------------------------------------------------------------
-
-# ----- Vesion Control Flags -----
-version.major=6
-version.minor=X
-version.build=0
-version.patch=0
-version=6.x-sandbox
-
-# ----- Default Base Path for Dependent Packages -----
-# Please note this path must be absolute, not relative,
-# as it is referenced with different working directory
-# contexts by the various build scripts.
-base.path=/usr/share/java
-#base.path=C:/path/to/the/repository
-#base.path=/usr/local
-
-compile.source=1.5
-compile.target=1.5
-compile.debug=true
-
+# -----------------------------------------------------------------------------
+# build.properties.sample
+#
+# This is an example "build.properties" file, used to customize building 
+# Tomcat for your local environment.  It defines the location of all external
+# modules that Tomcat depends on.  Copy this file to "build.properties"
+# in the top-level source directory, and customize it as needed.
+#
+# $Id: build.properties.default 526202 2007-04-06 15:44:38Z remm $
+# -----------------------------------------------------------------------------
+
+# ----- Vesion Control Flags -----
+version.major=6
+version.minor=X
+version.build=0
+version.patch=0
+version=6.x-sandbox
+
+# ----- Default Base Path for Dependent Packages -----
+# Please note this path must be absolute, not relative,
+# as it is referenced with different working directory
+# contexts by the various build scripts.
+base.path=/usr/share/java
+#base.path=C:/path/to/the/repository
+#base.path=/usr/local
+
+compile.source=1.5
+compile.target=1.5
+compile.debug=true
+

Modified: tomcat/sandbox/bayeux/build/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/bayeux/build/build.xml?view=diff&rev=551672&r1=551671&r2=551672
==============================================================================
--- tomcat/sandbox/bayeux/build/build.xml (original)
+++ tomcat/sandbox/bayeux/build/build.xml Thu Jun 28 12:24:41 2007
@@ -1,4 +1,4 @@
-<project default="build" basedir=".">
+<project default="build" basedir="..">
 
   <!-- ===================== Initialize Property Values =================== -->
 
@@ -8,7 +8,7 @@
   <property file="build.properties"/>
 
   <property file="build.properties.default"/>
-  <property name="base.path" value="${basedir}/deps"/>
+  <property name="base.path" value="${basedir}/dependencies"/>
 
   <!-- Download and dependency building -->
   <target name="proxyflags">
@@ -28,7 +28,7 @@
 
   <target name="testexist">
     <echo message="Testing  for ${destfile}"/>
-    <available file="${destfile}" property="exist"/>
+    <available file="${destdir}/${destfile}" property="exist"/>
   </target>
 
   <target name="downloadgz" unless="exist" depends="setproxy,testexist">
@@ -51,32 +51,27 @@
   <target name="downloadfile" unless="exist" depends="setproxy,testexist">
     <!-- Download extract the file -->
     <mkdir dir="${destdir}" />
-    <get src="${sourcefile}" dest="${destfile}" />
+    <get src="${sourcefile}" dest="${destdir}/${destfile}" />
   </target>
 
   <target name="download" description="Builds and download dependent 
components">
-
     <antcall target="downloadfile">
-      <param name="sourcefile" value="${tomcat-native.loc}"/>
-      <param name="destfile" value="${tomcat-native.tar.gz}"/>
-      <param name="destdir" value="${tomcat-native.home}"/>
-    </antcall>
-
-    <antcall target="downloadgz">
-      <param name="sourcefile" value="${commons-daemon.loc}"/>
-      <param name="destfile" value="${commons-daemon.jar}"/>
-    </antcall>
-
-    <!-- Build Tomcat DBCP bundle -->
-    <antcall target="downloadgz">
-      <param name="sourcefile" value="${commons-collections-src.loc}"/>
-      <param name="destfile" value="${tomcat-dbcp.jar}" />
+      <param name="sourcefile" 
value="http://repository.codehaus.org/org/mortbay/jetty/cometd-api/0.9.20070627/cometd-api-0.9.20070627.jar"/>
+      <param name="destfile" value="cometd-api-0.9.jar"/>
+      <param name="destdir" value="${base.path}"/>
     </antcall>
     <antcall target="downloadzip">
-      <param name="sourcefile" value="${jdt.loc}"/>
-      <param name="destfile" value="${jdt.jar}"/>
+      <param name="sourcefile" 
value="http://repository.codehaus.org/org/mortbay/jetty/cometd-api/0.9.20070627/cometd-api-0.9.20070627-sources.jar"/>
+      <param name="destfile" value="cometd-api-0.9-src.jar"/>
       <param name="destdir" value="${base.path}"/>
     </antcall>
+    <antcall target="downloadfile">
+      <param name="sourcefile" 
value="http://superb-east.dl.sourceforge.net/sourceforge/stringtree/stringtree-json-2.0.7.jar"/>
+      <param name="destfile" value="stringtree-json-2.0.7.jar"/>
+      <param name="destdir" value="${base.path}"/>
+    </antcall>
+
+
   </target>
 
   



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to