sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated: Fix an issue that prevent the NetBeans project to compile after a fresh checkout from Git repository.
Date Wed, 15 Aug 2018 09:13:24 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 744a5ef  Fix an issue that prevent the NetBeans project to compile after a fresh
checkout from Git repository.
744a5ef is described below

commit 744a5ef147b75ed2cb739626dd012fbee779f357
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Wed Aug 15 11:12:47 2018 +0200

    Fix an issue that prevent the NetBeans project to compile after a fresh checkout from
Git repository.
---
 ide-project/NetBeans/build.xml                    | 10 ++++++++++
 ide-project/NetBeans/nbproject/project.properties |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ide-project/NetBeans/build.xml b/ide-project/NetBeans/build.xml
index 1d1f1c8..56c0b93 100644
--- a/ide-project/NetBeans/build.xml
+++ b/ide-project/NetBeans/build.xml
@@ -27,6 +27,16 @@
   <import file="nbproject/build-impl.xml"/>
 
   <!--
+    Called after initialisation of project properties. Creates the "local-src"
+    empty directory, which needs to exist before the compiler can be invoked.
+    We perform this task because Git does not track empty directories, and we
+    avoid polluting the directory with dummy files as they appear in NetBeans.
+  -->
+  <target name="-post-init">
+    <mkdir dir="${src.local-src.dir}"/>
+  </target>
+
+  <!--
     Called after compilation. Copies the "*.utf" resources files created by Maven.
     Note that the Apache SIS project must have been build by Maven at least once
     before it can be built by the NetBeans IDE.
diff --git a/ide-project/NetBeans/nbproject/project.properties b/ide-project/NetBeans/nbproject/project.properties
index 991ce9c..160ff9e 100644
--- a/ide-project/NetBeans/nbproject/project.properties
+++ b/ide-project/NetBeans/nbproject/project.properties
@@ -129,7 +129,7 @@ icons.version        = 3.0.1
 # The dependencies are read directy from the local Maven directory.
 #
 maven.repository   = ${user.home}/.m2/repository
-endorsed.classpath=
+endorsed.classpath =
 javac.classpath=\
     ${project.GeoAPI}/dist/geoapi.jar:\
     ${maven.repository}/javax/measure/unit-api/${jsr363.version}/unit-api-${jsr363.version}.jar:\


Mime
View raw message