javac2 7.0.3 fails when using -target 1.6

Hi All.
Till now we works with javac2 taken from IntelliJ 6.
These days we are trying to move to javac2 that is distributed with IntelliJ 7.0.3. (some important bug fixes in 7.0.3)
The jars we take from 7.0.3 are:
  • forms_rt.jar
  • jgoodies-forms.jar
  • asm.jar
  • asm-commons.jar
  • javac2.jar
  • jdom.jar
After some problems and with your help we replace asm.jar & asm-commons.jar with latest version from http://asm.objectweb.org 
 
Now we got this new problem that some class is not found. I want to emphasis that beside the changes mention above no change was made and it worked fine when using javac2 taken from IntelliJ 6.
 
The exception we got is:
 
]]>    Adding @NotNull
assertions to
C:\Temp\maketmp\69700\class\wf\tool\application\alignment\solver\AbstractSolver.class]]>   
targetVersion: 1.6
 
BUILD FAILED
C:\Temp\maketmp\69700\make00000.rsp:20: java.lang.RuntimeException: Jama.Matrix
 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115)
 at org.apache.tools.ant.Task.perform(Task.java:348)
 at org.apache.tools.ant.Target.execute(Target.java:357)
 at org.apache.tools.ant.Target.performTasks(Target.java:385)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
 at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
 at org.apache.tools.ant.Main.runBuild(Main.java:698)
 at org.apache.tools.ant.Main.startAnt(Main.java:199)
 at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
 at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.RuntimeException: Jama.Matrix
 at com.intellij.ant.AntClassWriter.getCommonSuperClass(AntClassWriter.java:29)
 at org.objectweb.asm.ClassWriter.a(Unknown Source)
 at org.objectweb.asm.Frame.a(Unknown Source)
 at org.objectweb.asm.Frame.a(Unknown Source)
 at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
 at org.objectweb.asm.MethodAdapter.visitMaxs(Unknown Source)
 at org.objectweb.asm.ClassReader.accept(Unknown Source)
 at org.objectweb.asm.ClassReader.accept(Unknown Source)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.compile(Javac2.java:54)
 at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
 ... 11 more
--- Nested Exception ---
java.lang.RuntimeException: Jama.Matrix
 at com.intellij.ant.AntClassWriter.getCommonSuperClass(AntClassWriter.java:29)
 at org.objectweb.asm.ClassWriter.a(Unknown Source)
 at org.objectweb.asm.Frame.a(Unknown Source)
 at org.objectweb.asm.Frame.a(Unknown Source)
 at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
 at org.objectweb.asm.MethodAdapter.visitMaxs(Unknown Source)
 at org.objectweb.asm.ClassReader.accept(Unknown Source)
 at org.objectweb.asm.ClassReader.accept(Unknown Source)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
 at com.intellij.ant.Javac2.compile(Javac2.java:54)
 at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
 at org.apache.tools.ant.Task.perform(Task.java:348)
 at org.apache.tools.ant.Target.execute(Target.java:357)
 at org.apache.tools.ant.Target.performTasks(Target.java:385)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
 at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
 at org.apache.tools.ant.Main.runBuild(Main.java:698)
 at org.apache.tools.ant.Main.startAnt(Main.java:199)
 at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
 at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Same thing happens for other classes. The common thing for all problematic classes is that they are not under classpath but under extdirs options, you can see the line
in the build script below:
 
                 <javac2 destdir="C:\Temp\maketmp\67656\class" sourcepath="" srcdir="C:\views\BoazMainWF2_s\Q"
                     debug="true" nowarn="true" memorymaximumsize="1024m"
                     fork="true" executable="C:\views\BoazMainWF2_s\Qsnap\JDK\bin\javac.exe"
              source="1.5"
              target="1.6"
                     classpath="C:\views\BoazMainWF2_s\Qsnap\Qbuild\class;C:\views\BoazMainWF2_s\Qsnap\Qrelease\jar\LowSysUtils.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\jar\RMASetup.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\pbtools57.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\pbembedded57.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\ImgrRdr.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\comm.jar"
                   extdirs="C:\views\BoazMainWF2_s\Qsnap\JDK\jre\lib;C:\views\BoazMainWF2_s\Qsnap\JDK\jre\lib\ext;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JavaExt"
                     bootclasspath="C:\views\BoazMainWF2_s\Qsnap\JDK\JRE\lib\rt.jar"
                     includes= <omitted ...>
                     listfiles="false"
                     includeAntRuntime="no"
                     >
                   <compilerarg line=" "/>
                 </javac2>
 
Another and last thing, If I change javac target to be 1.5 then every thing works fine.
 
 
Please your advise.

B.R
Boaz
 
]]>

0
2 comments

Hello Boaz,

Please file a JIRA issue - the javac2 task currently does not handle extdirs.
Loading classes is required in order to get correct frames information for
the new Java 6 bytecode verifier - the javac2 task from IDEA 6 didn't do
that, and it's also not done when using target 1.5.

Hi All.
Till now we works with javac2 taken from IntelliJ 6.
These days we are trying to move to javac2 that is distributed with
IntelliJ 7.0.3. (some important bug fixes in 7.0.3)
The jars we take from 7.0.3 are:
a.. forms_rt.jar
b.. jgoodies-forms.jar
c.. asm.jar
d.. asm-commons.jar
e.. javac2.jar
f.. jdom.jar
After some problems and with your help we replace asm.jar &
asm-commons.jar with latest version from http://asm.objectweb.org
Now we got this new problem that some class is not found. I want to
emphasis that beside the changes mention above no change was made and
it worked fine when using javac2 taken from IntelliJ 6.

The exception we got is:

Adding @NotNull assertions to
C:\Temp\maketmp\69700\class\wf\tool\application\alignment\solver\Abstr
actSolver.class
targetVersion: 1.6
BUILD FAILED
C:\Temp\maketmp\69700\make00000.rsp:20:
java.lang.RuntimeException: Jama.Matrix
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
:115)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
utor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.RuntimeException: Jama.Matrix
at
com.intellij.ant.AntClassWriter.getCommonSuperClass(AntClassWriter.jav
a:29)
at org.objectweb.asm.ClassWriter.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.objectweb.asm.MethodAdapter.visitMaxs(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.compile(Javac2.java:54)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
:105)
... 11 more
--- Nested Exception ---
java.lang.RuntimeException: Jama.Matrix
at
com.intellij.ant.AntClassWriter.getCommonSuperClass(AntClassWriter.jav
a:29)
at org.objectweb.asm.ClassWriter.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.objectweb.asm.MethodAdapter.visitMaxs(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
at com.intellij.ant.Javac2.compile(Javac2.java:54)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
utor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Same thing happens for other classes. The common thing for all
problematic classes is that they are not under classpath but under
extdirs options, you can see the line

in the build script below:

<javac2 destdir="C:\Temp\maketmp\67656\class"
sourcepath="" srcdir="C:\views\BoazMainWF2_s\Q"
debug="true" nowarn="true"
memorymaximumsize="1024m"
fork="true"
executable="C:\views\BoazMainWF2_s\Qsnap\JDK\bin\javac.exe"
source="1.5"
target="1.6"

classpath="C:\views\BoazMainWF2_s\Qsnap\Qbuild\class;C:\views\BoazMain
WF2_s\Qsnap\Qrelease\jar\LowSysUtils.jar;C:\views\BoazMainWF2_s\Qsnap\
Qrelease\jar\RMASetup.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt
\pbtools57.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\pbembedded
57.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\ImgrRdr.jar;C:\vie
ws\BoazMainWF2_s\Qsnap\Qrelease\JarExt\comm.jar"

extdirs="C:\views\BoazMainWF2_s\Qsnap\JDK\jre\lib;C:\views\BoazMainWF2
s\Qsnap\JDK\jre\lib\ext;C:\views\BoazMainWF2s\Qsnap\Qrelease\JavaExt
"

bootclasspath="C:\views\BoazMainWF2_s\Qsnap\JDK\JRE\lib\rt.jar"
includes= <omitted ...>
listfiles="false"
includeAntRuntime="no"
<compilerarg line=" "/>
</javac2>
Another and last thing, If I change javac target to be 1.5 then every
thing works fine.

Please your advise.

B.R
Boaz

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Many thanks.
 
B.R.
Boaz
 
> Hello Boaz,
>
> Please file a JIRA issue - the javac2 task currently does not handle extdirs.
> Loading classes is required in order to get correct frames information for
> the new Java 6 bytecode verifier - the javac2 task from IDEA 6 didn't do
> that, and it's also not done when using target 1.5.
>
>> Hi All.
>> Till now we works with javac2 taken from IntelliJ 6.
>> These days we are trying to move to javac2 that is distributed with
>> IntelliJ 7.0.3. (some important bug fixes in 7.0.3)
>> The jars we take from 7.0.3 are:
>> a.. forms_rt.jar
>> b.. jgoodies-forms.jar
>> c.. asm.jar
>> d.. asm-commons.jar
>> e.. javac2.jar
>> f.. jdom.jar
>> After some problems and with your help we replace asm.jar &
>> asm-commons.jar with latest version from http://asm.objectweb.org
>> Now we got this new problem that some class is not found. I want to
>> emphasis that beside the changes mention above no change was made and
>> it worked fine when using javac2 taken from IntelliJ 6.
>>
>> The exception we got is:
>>
]]>&gt;&gt;
Adding @NotNull assertions to>> C:\Temp\maketmp\69700\class\wf\tool\application\alignment\solver\Abstr
>> actSolver.class
]]>
&gt;&gt; targetVersion: 1.6>> BUILD FAILED
>> C:\Temp\maketmp\69700\make00000.rsp:20:
>> java.lang.RuntimeException: Jama.Matrix
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
>> :115)
>> at org.apache.tools.ant.Task.perform(Task.java:348)
>> at org.apache.tools.ant.Target.execute(Target.java:357)
>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>> at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>> at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
>> utor.java:41)
>> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>> at org.apache.tools.ant.Main.runBuild(Main.java:698)
>> at org.apache.tools.ant.Main.startAnt(Main.java:199)
>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>> Caused by: java.lang.RuntimeException: Jama.Matrix
>> at
>> com.intellij.ant.AntClassWriter.getCommonSuperClass(AntClassWriter.jav
>> a:29)
>> at org.objectweb.asm.ClassWriter.a(Unknown Source)
>> at org.objectweb.asm.Frame.a(Unknown Source)
>> at org.objectweb.asm.Frame.a(Unknown Source)
>> at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
>> at org.objectweb.asm.MethodAdapter.visitMaxs(Unknown Source)
>> at org.objectweb.asm.ClassReader.accept(Unknown Source)
>> at org.objectweb.asm.ClassReader.accept(Unknown Source)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.compile(Javac2.java:54)
>> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> ava:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> orImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
>> :105)
>> ... 11 more
>> --- Nested Exception ---
>> java.lang.RuntimeException: Jama.Matrix
>> at
>> com.intellij.ant.AntClassWriter.getCommonSuperClass(AntClassWriter.jav
>> a:29)
>> at org.objectweb.asm.ClassWriter.a(Unknown Source)
>> at org.objectweb.asm.Frame.a(Unknown Source)
>> at org.objectweb.asm.Frame.a(Unknown Source)
>> at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
>> at org.objectweb.asm.MethodAdapter.visitMaxs(Unknown Source)
>> at org.objectweb.asm.ClassReader.accept(Unknown Source)
>> at org.objectweb.asm.ClassReader.accept(Unknown Source)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:227)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.instrumentNotNull(Javac2.java:247)
>> at com.intellij.ant.Javac2.compile(Javac2.java:54)
>> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> ava:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> orImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
>> :105)
>> at org.apache.tools.ant.Task.perform(Task.java:348)
>> at org.apache.tools.ant.Target.execute(Target.java:357)
>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>> at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>> at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>> at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
>> utor.java:41)
>> at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>> at org.apache.tools.ant.Main.runBuild(Main.java:698)
>> at org.apache.tools.ant.Main.startAnt(Main.java:199)
>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>> Same thing happens for other classes. The common thing for all
>> problematic classes is that they are not under classpath but under
>> extdirs options, you can see the line
>>
>> in the build script below:
>>
>> <javac2 destdir="C:\Temp\maketmp\67656\class"
>> sourcepath="" srcdir="C:\views\BoazMainWF2_s\Q"
>> debug="true" nowarn="true"
>> memorymaximumsize="1024m"
>> fork="true"
>> executable="C:\views\BoazMainWF2_s\Qsnap\JDK\bin\javac.exe"
>> source="1.5"
>> target="1.6"
>>
>> classpath="C:\views\BoazMainWF2_s\Qsnap\Qbuild\class;C:\views\BoazMain
>> WF2_s\Qsnap\Qrelease\jar\LowSysUtils.jar;C:\views\BoazMainWF2_s\Qsnap\
>> Qrelease\jar\RMASetup.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt
>> \pbtools57.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\pbembedded
>> 57.jar;C:\views\BoazMainWF2_s\Qsnap\Qrelease\JarExt\ImgrRdr.jar;C:\vie
>> ws\BoazMainWF2_s\Qsnap\Qrelease\JarExt\comm.jar"
>>
>> extdirs="C:\views\BoazMainWF2_s\Qsnap\JDK\jre\lib;C:\views\BoazMainWF2
]]>
&gt;&gt;
s\Qsnap\JDK\jre\lib\ext;C:\views\BoazMainWF2s\Qsnap\Qrelease\JavaExt>> "
>>
>> bootclasspath="C:\views\BoazMainWF2_s\Qsnap\JDK\JRE\lib\rt.jar"
>> includes= <omitted ...>
>> listfiles="false"
>> includeAntRuntime="no"
>> <compilerarg line=" "/>
>> </javac2>
>> Another and last thing, If I change javac target to be 1.5 then every
>> thing works fine.
>>
>> Please your advise.
>>
>> B.R
>> Boaz
> --
> Dmitry Jemerov
> Development Lead
> JetBrains, Inc.
> http://www.jetbrains.com/
> "Develop with Pleasure!"
>
> ]]>

0

Please sign in to leave a comment.