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 2019/01/16 10:32:22 UTC

[GitHub] nigjo commented on a change in pull request #610: [NetBeans-1007] Convert all path separators to slashes (on all OS)

nigjo commented on a change in pull request #610: [NetBeans-1007] Convert all path separators to slashes (on all OS)
URL: https://github.com/apache/incubator-netbeans/pull/610#discussion_r248228405
 
 

 ##########
 File path: nbbuild/build.xml
 ##########
 @@ -1592,8 +1592,11 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y to start the system in d
             includes="${allmodules},${harness-modules},nbbuild${build.source.config.add.ide},nbi,libs.antlr3.devel,libs.junit4"
             excludes="nbi/engine/lib,nbi/infra/build/jvm,nbi/infra/sandbox,nbi/infra/server,nbi/infra/utils"
     />
-    <pathconvert property="source.dirs" pathsep="," refid="source.dirset">
-      <regexpmapper from="${nb_all}/(.*)$" to="\1/**/*" handledirsep="yes"/>
+    <pathconvert property="nb_all_slash" dirsep="/">
+      <path location="${nb_all}"/>
+    </pathconvert>
+    <pathconvert property="source.dirs" dirsep="/" pathsep="," refid="source.dirset">
+      <regexpmapper from="${nb_all_slash}/(.*)$" to="\1/**/*" handledirsep="yes"/>
 
 Review comment:
   I tried your regex and it will result in an empty `${source.dirs}`, so it is not working your way

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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