Question
Trying to compile branch 3.0.x
It's my first try to compile an SDK.
I've installed:
- apache-ant-1.6.2
- j2sdk1.4.2_14
I've set the environment variable JAVA_HOME & ANT_HOME and added the branch path to PATH.
I then cygwin, proceed to the correct branch, run source setup.sh and then ant -q main.
This is the error i get:
$ ant -q main
[javac] C:\Flex\branches\3.0.x\modules\swfutils\src\java\flash\swf\tools\Swf
xPrinter.java:179: cannot resolve symbol
[javac] symbol : method valueOf (int)
[javac] location: class java.lang.Integer
[javac] swfVersion = Integer.valueOf(h.version);
[javac] ^
[javac] 1 error
BUILD FAILED
C:\Flex\branches\3.0.x\build.xml:125: The following error occurred while executi
ng this line:
C:\Flex\branches\3.0.x\modules\swfutils\build.xml:36: Compile failed; see the co
mpiler error output for details.
Total time: 6 seconds
I've installed:
- apache-ant-1.6.2
- j2sdk1.4.2_14
I've set the environment variable JAVA_HOME & ANT_HOME and added the branch path to PATH.
I then cygwin, proceed to the correct branch, run source setup.sh and then ant -q main.
This is the error i get:
$ ant -q main
[javac] C:\Flex\branches\3.0.x\modules\swfutils\src\java\flash\swf\tools\Swf
xPrinter.java:179: cannot resolve symbol
[javac] symbol : method valueOf (int)
[javac] location: class java.lang.Integer
[javac] swfVersion = Integer.valueOf(h.version);
[javac] ^
[javac] 1 error
BUILD FAILED
C:\Flex\branches\3.0.x\build.xml:125: The following error occurred while executi
ng this line:
C:\Flex\branches\3.0.x\modules\swfutils\build.xml:36: Compile failed; see the co
mpiler error output for details.
Total time: 6 seconds
