Community
Participate
Working Groups
Building a RTSC package that contains Java source code fails on Windows if any of the following directories contain spaces: - the JDK home - the current repository - package path repositories The JDK and current repository failures are easy to reproduce. Spaces in package path repository names prevent javac from discovering java/package.jar files via the package.xdc "requires" statements. To reproduce, you need a second package containing a referenced .jar file that you can put in a separate repository with spaces. Workaround for all of these is to use the 8.3 pathname instead.
Fixed in xdc-w08. Fixed xdc/bld/xdc_java.mak to quote path to Java compiler, and also paths to repositories when constructing Java build classpath from package path.
I replicated all three failures with 3.21.00.10 (built using xdc-w05). After switching to 3.21.00.22, all three failures were fixed.
Shipped in XDCtools 3.21.
Shipped in XDCtools 3.21