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

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


The following commit(s) were added to refs/heads/master by this push:
     new e7d693d  Fix broken links to images in the extension's readme. (#2686)
e7d693d is described below

commit e7d693d1396d1cc453eeba65abb84c617aab6342
Author: Dusan Balek <[email protected]>
AuthorDate: Thu Jan 21 08:27:47 2021 +0100

    Fix broken links to images in the extension's readme. (#2686)
---
 java/java.lsp.server/build.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/java/java.lsp.server/build.xml b/java/java.lsp.server/build.xml
index 48e9311..9e12d73 100644
--- a/java/java.lsp.server/build.xml
+++ b/java/java.lsp.server/build.xml
@@ -60,6 +60,13 @@
         <ant dir="nbcode" target="clean" inheritall="false" 
inheritrefs="false"/>
     </target>
     <target name="build-vscode-ext" depends="build-lsp-server" 
description="Build the Visual Studio Code extension.">
+        <taskdef name="gitbranchhash" 
classname="org.netbeans.nbbuild.GitBranchHash" classpath="${nbantext.jar}" />
+        <gitbranchhash file="." branchproperty="metabuild.branch" 
hashproperty="metabuild.hash" />
+        <condition property="metabuild.hash" value="master" >
+            <not>
+                <isset property="metabuild.hash" />
+            </not>
+        </condition>
         <property name="vsix.version" value="0.1.0"/>
 
         <exec executable="npm" failonerror="true" dir="vscode">
@@ -96,6 +103,8 @@
         </exec>
         <exec executable="${build.dir}/vsce/node_modules/vsce/out/vsce" 
failonerror="true" dir="${basedir}/vscode">
             <arg value="package" />
+            <arg value="--baseImagesUrl" />
+            <arg 
value="https://github.com/apache/netbeans/raw/${metabuild.hash}/java/java.lsp.server/vscode";
 />
             <arg value="--out" />
             <arg 
value="${build.dir}/apache-netbeans-java-${vsix.version}.vsix" />
         </exec>


---------------------------------------------------------------------
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