You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/02/14 12:10:44 UTC
svn commit: r377694 - in /lenya/trunk/src: resources/dev/eclipse/project
targets/ide-build.xml
Author: andreas
Date: Tue Feb 14 03:10:41 2006
New Revision: 377694
URL: http://svn.apache.org/viewcvs?rev=377694&view=rev
Log:
Read Cocoon eclipse project name from /.project
Modified:
lenya/trunk/src/resources/dev/eclipse/project
lenya/trunk/src/targets/ide-build.xml
Modified: lenya/trunk/src/resources/dev/eclipse/project
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/resources/dev/eclipse/project?rev=377694&r1=377693&r2=377694&view=diff
==============================================================================
Binary files - no diff available.
Modified: lenya/trunk/src/targets/ide-build.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/targets/ide-build.xml?rev=377694&r1=377693&r2=377694&view=diff
==============================================================================
--- lenya/trunk/src/targets/ide-build.xml (original)
+++ lenya/trunk/src/targets/ide-build.xml Tue Feb 14 03:10:41 2006
@@ -107,10 +107,20 @@
<param name="exportlib" expression="${ide.eclipse.export.libs}"/>
</xslt>
+ <xmlproperty file="${cocoon.src.dir}/.project"/>
+
+ <fail unless="projectDescription.name">
+ Please call "./build.sh eclipse-project" in the Cocoon source directory first.
+ </fail>
+
<!-- copy the project file (expand version) -->
<copy file="${src.resource.dir}/dev/eclipse/project"
tofile="${basedir}/.project"
+ filtering="yes"
overwrite="yes">
+ <filterset>
+ <filter token="COCOON_PROJECT" value="${projectDescription.name}"/>
+ </filterset>
</copy>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org