You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Gregor J. Rothfuss" <gr...@apache.org> on 2004/12/15 22:02:45 UTC

Re: svn commit: r112019 - /lenya/trunk/src/targets/init-build.xml

michi@apache.org wrote:

> Modified: lenya/trunk/src/targets/init-build.xml
> Url: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/init-build.xml?view=diff&rev=112019&p1=lenya/trunk/src/targets/init-build.xml&r1=112018&p2=lenya/trunk/src/targets/init-build.xml&r2=112019
> ==============================================================================
> --- lenya/trunk/src/targets/init-build.xml	(original)
> +++ lenya/trunk/src/targets/init-build.xml	Wed Dec 15 12:50:33 2004
> @@ -80,8 +80,14 @@
>    <!-- ============================================================ -->
>    <!-- Prepares the build webapp directory                          -->
>    <!-- ============================================================ -->
> -  <!-- build cocoon unless this is a gump build -->
> -  <target name="build-cocoon" depends="init" unless="gump.skipcocoonbuild">
> +  <target name="check-cocoon" depends="init" unless="gump.skipcocoonbuild">
> +    <echo>Check if Cocoon has been built: ${cocoon.src.dir}/build/webapp</echo>
> +    <available file="${cocoon.src.dir}/build/webapp" type="dir" property="cocoon.build.webapp.dir.exists"/>
> +    <!--<fail unless="cocoon.build.webapp.dir.exists" message="Cocoon needs to be built first!"/>-->
> +    <antcall target="build-cocoon"/>
> +  </target>
> +
> +  <target name="build-cocoon" depends="init" unless="cocoon.build.webapp.dir.exists">

this will break the gump build. gump will try running build-cocoon, but 
since you removed the unless="gump.skipcocoonbuild"> it will fail.

please change or revert.

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: svn commit: r112019 - /lenya/trunk/src/targets/init-build.xml

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:

> Have you tried running the gump process?

we will know by tomorrow..

http://brutus.apache.org/gump/public/lenya/lenya/index.html

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: svn commit: r112019 - /lenya/trunk/src/targets/init-build.xml

Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:

> +
>
>> +  <target name="build-cocoon" depends="init" 
>> unless="cocoon.build.webapp.dir.exists">
>
>
> this will break the gump build. gump will try running build-cocoon, 
> but since you removed the unless="gump.skipcocoonbuild"> it will fail.


I don't think so, because build-cocoon is only called by check-cocoon 
which is being called by prepare-cocoon which has an unless attribute re 
gump.

Have you tried running the gump process?

>
> please change or revert.
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org