You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by Eric Dobbs <er...@dobbse.net> on 2001/03/29 04:29:16 UTC

[PATCH] tdk 1.1a12 newapp.xml

Hi All.

The simple app doesn't build properly because the flux
stuff gets included in the build.  In this patch I've
moved the tasks that copy the flux stuf inside the
post-peer target and before the javac task.

-Eric


--- newapp.xml.orig  Thu Mar 29 00:55:34 2001
+++ newapp.xml       Thu Mar 29 02:18:25 2001
@@ -179,19 +179,6 @@
        <fileset 
dir="share/${turbine.app.view}/${turbine.app.type}/WEB-INF/src"/>
      </copy>

-    <!-- F L U X -->
-    <copy todir="${newapp.src}/java">
-      <fileset dir="share/flux/src/java"/>
-    </copy>
-
-    <copy todir="${newapp.home}/flux-templates">
-      <fileset dir="share/flux/src/templates"/>
-    </copy>
-
-    <copy file="share/flux/conf/Flux.properties" todir="${newapp.conf}"/>
-
-    <property name="flux.modules" value="org.apache.turbine.flux.modules"/>
-
      <!-- T U R B I N E  R E S O U R C E S  P R O P E R T I E S -->

      <!--
@@ -266,6 +253,20 @@
    <!-- 
=================================================================== -->

    <target name="post-peer">
+
+    <!-- F L U X -->
+    <copy todir="${newapp.src}/java">
+      <fileset dir="share/flux/src/java"/>
+    </copy>
+
+    <copy todir="${newapp.home}/flux-templates">
+      <fileset dir="share/flux/src/templates"/>
+    </copy>
+
+    <copy file="share/flux/conf/Flux.properties" todir="${newapp.conf}"/>
+
+    <property name="flux.modules" value="org.apache.turbine.flux.modules"/>
+
      <echo>

        There are few things that you must do before



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org


Re: [PATCH] tdk 1.1a12 newapp.xml

Posted by Jason van Zyl <jv...@apache.org>.
Eric Dobbs wrote:
> 
> Hi All.
> 
> The simple app doesn't build properly because the flux
> stuff gets included in the build.  In this patch I've
> moved the tasks that copy the flux stuf inside the
> post-peer target and before the javac task.

Thanks, I meant to toss the simple example as hypersonic
now works in the TDK and no one is really interested in
examples that don't use the database.

But I will apply the patch and make the default app the
peer example which is rapidly becoming the all singing
all dancing example.

> 
> -Eric
> 
> --- newapp.xml.orig  Thu Mar 29 00:55:34 2001
> +++ newapp.xml       Thu Mar 29 02:18:25 2001
> @@ -179,19 +179,6 @@
>         <fileset
> dir="share/${turbine.app.view}/${turbine.app.type}/WEB-INF/src"/>
>       </copy>
> 
> -    <!-- F L U X -->
> -    <copy todir="${newapp.src}/java">
> -      <fileset dir="share/flux/src/java"/>
> -    </copy>
> -
> -    <copy todir="${newapp.home}/flux-templates">
> -      <fileset dir="share/flux/src/templates"/>
> -    </copy>
> -
> -    <copy file="share/flux/conf/Flux.properties" todir="${newapp.conf}"/>
> -
> -    <property name="flux.modules" value="org.apache.turbine.flux.modules"/>
> -
>       <!-- T U R B I N E  R E S O U R C E S  P R O P E R T I E S -->
> 
>       <!--
> @@ -266,6 +253,20 @@
>     <!--
> =================================================================== -->
> 
>     <target name="post-peer">
> +
> +    <!-- F L U X -->
> +    <copy todir="${newapp.src}/java">
> +      <fileset dir="share/flux/src/java"/>
> +    </copy>
> +
> +    <copy todir="${newapp.home}/flux-templates">
> +      <fileset dir="share/flux/src/templates"/>
> +    </copy>
> +
> +    <copy file="share/flux/conf/Flux.properties" todir="${newapp.conf}"/>
> +
> +    <property name="flux.modules" value="org.apache.turbine.flux.modules"/>
> +
>       <echo>
> 
>         There are few things that you must do before
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org

-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://tambora.zenplex.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org