#10385 closed defect (invalid)
createMissingPackageInfoClass support / can't compile josm
| Reported by: | brycenesbitt | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
With:
java -version
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
I can't compile current josm, without removing createMissingPackageInfoClass=False
from build.xml (near line 218). The error message is:
javac doesn't support the "createMissingPackageInfoClass" attribute
Attachments (0)
Change History (3)
comment:1 by , 11 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:3 by , 9 years ago
Most likely you still have set ANT_HOME to the old version 1.8.2.
Uninstall the WinAnt (this is a very old ant, I guess you installed this on your Windows) and unzip the 1.9.7 from:
http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.7-bin.zip
to any dir. Write then this path into a new var "ANT_HOME" in your environment variables and try again.
Or do on commandline:
SET ANT_HOME=C:\your\path\to\unzipped\ant\folder
and run ant after.
But it will install with 1.8.2 as well if you just delete all entries of createMissingPackageInfoClass="false" in the build.xml, same thing.



Please use at least ant 1.8.3.