Closed trinhpham closed 6 years ago
For some reason, the following line in the build script is working with Java 7, but not with Java 8 or later:
<script language="javascript">
project.setProperty("path", project.getProperty("group").replace(".", "/"));
</script>
I'm assuming this is due to the new Javascript engine in Java 8.
The following works with all JDK versions:
<script language="javascript">
project.setProperty("path", project.getProperty("group").replaceAll("\\.", "/"));
</script>
@trinhpham,
Thanks for this report. To answer your question:
why don't we just use Maven for our projects?
This is a choice we made many years ago. Now we have a complex build that works. The dependencies management is this easy part of the build, and you can see that this issue here is easily fixed, thanks to you. The rest of the build just works and there is currently no compelling reason to fix something that is not broken.
Thanks for your very quick support & explanation @lolocohen :)
Dear @lolocohen ,
The latest source code (at this moment) can't be built because of most of dependencies cannot be download automatically. I attach my console output below, could you please take a look? Another concern that I have is: we are download libs from Maven Central Repository by some tricky Ant task , why don't we just use Maven for our projects?
Thanks