jtulach commented on code in PR #9779:
URL: https://github.com/apache/netbeans/pull/9779#discussion_r4554141453
##########
nbbuild/build.xml:
##########
@@ -407,14 +407,79 @@ metabuild.hash=${metabuild.hash}</echo>
<nbbrowse file="${netbeans.javadoc.dir}/index.html"/>
</target>
- <!-- build source zips for selected modules - useful for populating maven
repository only-->
- <target name="build-source-zips" depends="init" description="Builds source
zips for maven repository inclusion.">
+ <target name="-init-sources-zip" depends="init">
<property name="netbeans.zipped.sources.dir"
location="${nb.build.dir}/source-zips" />
-
+ </target>
+
+ <!-- build source zips for selected modules - useful for populating maven
repository only-->
+ <target name="build-source-zips" depends="init,-init-sources-zip"
description="Builds source zips for maven repository inclusion.">
<subant-junit target="sources-zip" failonerror="true">
<buildpath path="${modules.sorted}"/>
</subant-junit>
</target>
+
+ <target name="maven-install" depends="init,-init-sources-zip"
description="Finishes installation of artifacts into Maven repository">
+ <echo message="=== Run only after ===${line.separator} ant
build-source-zips${line.separator} ant build-nbms${line.separator} ant
build-javadoc${line.separator}=== Only then maven-install
===${line.separator}"/>
Review Comment:
Suggests to run:
```
ant build-source-zips
ant build-nbms
ant build-javadoc
```
but it doesn't run them to make the `ant maven-install` fast by itself.
With the most recent state of this PR the `ant build-source-zips` and `ant
build-javadoc` are optional.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[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