mbien commented on PR #9545:
URL: https://github.com/apache/netbeans/pull/9545#issuecomment-5295582754

   I think your build creates the property at 
https://github.com/thelastpickle/cassandra/blob/1f5ca77d79ae407623caf5ef56355cf962284442/build.xml#L468
 for the build action. (You linked the place for the duplicated IDE config 
above, where you use a script to update it.)
   
   The ant doc says at https://ant.apache.org/manual/using.html#path
   
   > Additionally, it should be noted that although resource collections are 
processed in the order encountered, certain resource collection types such as 
[fileset](https://ant.apache.org/manual/Types/fileset.html), 
[dirset](https://ant.apache.org/manual/Types/dirset.html) and 
[files](https://ant.apache.org/manual/Types/resources.html#files) are undefined 
in terms of order.
   
   So it is technically already undefined in the build, so sorting the path 
like this PR does makes it at least stable - assuming the classpath is created 
via fileset globs.
   
   Usually this PR would go a little bit against what NB was always known for 
(it tries to integrates with build tools but doesn't try to replicate what a 
build tool does - if possible). I suppose the classic approach would have been 
to try to evaluate the ant script and get the canonical path directly from ant 
for the project config, avoiding the duplicated path configuration and 
computation entirely.
   
   I am not going to block this though if someone else wanted to take a look. 
Tested it a bit and it worked fine. Added NB32 milestone to keep it on the 
radar.


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

Reply via email to