This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git

commit d74705dffc65ae259178fb7f859fc4e8da57a5bb
Author: Matthias Bläsing <[email protected]>
AuthorDate: Mon Jan 22 22:46:46 2018 +0100

    [NETBEANS-138] Create archive sample needed for RepositoryUpdaterTest from 
build artifacts
    
    Closes: #375
---
 parsing.indexing/build.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/parsing.indexing/build.xml b/parsing.indexing/build.xml
index cd26417..ac4bdff 100644
--- a/parsing.indexing/build.xml
+++ b/parsing.indexing/build.xml
@@ -22,4 +22,14 @@
 <project basedir="." default="netbeans" name="parsing.indexing">
     <description>Builds, tests, and runs the project 
org.netbeans.modules.parsing.indexing</description>
     <import file="../nbbuild/templates/projectized.xml"/>
+    
+    <target name="do-unit-test-build" 
depends="projectized.do-unit-test-build,compile">
+        <!-- Prepare demo jar file used in RepositoryUpdaterTest -->
+        <echo message="Creating sample data"/>
+        <mkdir dir="${basedir}/build/test/unit/data/" />
+        <zip file="${basedir}/build/test/unit/data/JavaApplication1.jar">
+            <fileset dir="${basedir}/build/classes/" includes="**" />
+            <fileset dir="${basedir}/build/classes-generated/" includes="**"/>
+        </zip>
+    </target>
 </project>

-- 
To stop receiving notification emails like this one, please contact
[email protected].

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to