You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/08/11 09:02:21 UTC

[GitHub] [netbeans] sdedic commented on a change in pull request #3099: [NETBEANS-2443] [NETBEANS-5732] Support profiler or other StartupExtenders that use spaces in args

sdedic commented on a change in pull request #3099:
URL: https://github.com/apache/netbeans/pull/3099#discussion_r686640757



##########
File path: ide/extexecution/build.xml
##########
@@ -22,4 +22,14 @@
 <project basedir="." default="build" name="ide/extexecution">
     <description>Builds, tests, and runs the project org.netbeans.modules.extexecution</description>
     <import file="../../nbbuild/templates/projectized.xml"/>
+    
+    <!-- 
+        Hacks the build process: we supply a default generated-layer, the layer reg processor reads the existing 
+        file first, and appends to it. So annotation-based registrations will merge into the static content.
+        Must be done before do-test-compile.
+    -->
+    <target name="test-unit-dep-build" depends="test-init,projectized-common.test-unit-dep-build">
+       <mkdir dir="${build.test.unit.classes.dir}/META-INF"/>
+       <copy file="${test.unit.src.dir}/META-INF/layer-static.xml" tofile="${build.test.unit.classes.dir}/META-INF/generated-layer.xml"/>

Review comment:
       Ha ! Much simpler; thanks - will do.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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