You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2017/01/04 14:04:22 UTC

[7/8] incubator-freemarker git commit: Added META-INF/DO-NOT-EDIT.txt to prevent confusion (some may tries to edit METAINF.MF here). Also, excluded the legal files.

Added META-INF/DO-NOT-EDIT.txt to prevent confusion (some may tries to edit METAINF.MF here). Also, excluded the legal files.


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/6dea2fa3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/6dea2fa3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/6dea2fa3

Branch: refs/heads/2.3
Commit: 6dea2fa351d3dd1724ef6ab1a1f2c42b8b1bc824
Parents: a33aaba
Author: ddekany <dd...@apache.org>
Authored: Wed Jan 4 14:55:28 2017 +0100
Committer: ddekany <dd...@apache.org>
Committed: Wed Jan 4 14:55:28 2017 +0100

----------------------------------------------------------------------
 build.xml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/6dea2fa3/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index a496742..52f2fac 100644
--- a/build.xml
+++ b/build.xml
@@ -1069,14 +1069,22 @@ Proceed? </input>
     </delete>    
     <ivy:retrieve conf="IDE" pattern="ide-dependencies/[artifact]-[revision].[ext]" />
 
-    <!-- Extract META-INF folder with files like MANIFEST.MF from freemarker.jar and put it in base directory for eclipse 
-    (this is needed if you want to reference freemarker-source code in the context of OSGI development with Eclipse) -->
+    <!--
+      Extract META-INF/MANITSET.MF from freemarker.jar and put it into the project directory for Eclipse (this is
+      needed if you want to reference freemarker source code in the context of OSGI development with Eclipse)
+    -->
     <unzip src="build/freemarker.jar" dest=".">
       <patternset>
         <include name="META-INF/*"/>
+        <exclude name="META-INF/LICENSE"/>
+        <exclude name="META-INF/DISCLAIMER"/>
+        <exclude name="META-INF/NOTICE"/>
       </patternset>
     </unzip>
-
+    <echo file="META-INF/DO-NOT-EDIT.txt"><!--
+      -->Do not edit the files in this directory! They are extracted from freemarker.jar as part of&#x0a;<!--
+      -->the ide-dependencies Ant task, because Eclipse OSGi support expects them to be here.<!--
+    --></echo>
   </target>
   
   <!--