Hello, I had developed several applications in Genesys Composer. Version: 8.1.400.36
I did compile them and everything was OK.
Now, 6 months later I am trying to recompile and I get this error.
[code]Buildfile: /C:/eclipse-juno (Composer)/configuration/org.eclipse.osgi/bundles/256/1/.cp/javaVoiceProjBuildScripts/build.xml
jspc:
[echo] ProjName: AtencionPresencial
compile:
[javac] C:\eclipse-juno (Composer)\configuration\org.eclipse.osgi\bundles\256\1\.cp\javaVoiceProjBuildScripts\build.xml:37: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
BUILD FAILED
C:\eclipse-juno (Composer)\configuration\org.eclipse.osgi\bundles\256\1\.cp\javaVoiceProjBuildScripts\build.xml:37: Class not found: javac1.8[/code]
I think that I did not, but I might have changed java versions or JAVA_HOME. Anyway, I have tried to configure in Composer and in JAVA_HOME with JDK 1.7 and JDK 1.8.
I did not change anything in my build.xml file. Anyway this is its content:
[code]<project name="Webapp Precompilation" default="all" basedir=".">
<property name="tomcat.home" value="${eclipse.home}"/>
<property name="java_home" value="${eclipse.home}/j2sdk"/>
<property name="voiceProjDir" value=""/>
<property name="projName" value=""/>
<property name="javaclog" location="${voiceProjDir}/${javac.log.path}" />
<target name="jspc">
<!-- Workaround for getting project Name for JavacErrorMarker-->
<echo>ProjName: ${projName}</echo>
<record name="${javaclog}" action="start" />
<taskdef classname="org.apache.jasper.JspC" name="jasper2" >
<classpath id="jspc.classpath">
<pathelement location="${java_home}/lib/tools.jar"/>
<fileset dir="${tomcat.home}/bin">
<include name="*.jar"/>
</fileset>
<fileset dir="${tomcat.home}/lib">
<include name="*.jar"/>
</fileset>
</classpath>
</taskdef>
<jasper2
validateXml="false"
uriroot="${voiceProjDir}"
webXmlFragment="${voiceProjDir}/WEB-INF/tomcat_generated_web.xml"
outputDir="${voiceProjDir}/WEB-INF/src" />
<record name="${javaclog}" action="stop" />
</target>
<target name="compile">
<record name="${javaclog}" action="start" />
<javac optimize="off" debug="on" failonerror="true" srcdir="${voiceProjDir}" excludes="**/*.smap">
<classpath>
<pathelement location="${voiceProjDir}/WEB-INF/classes"/>
<fileset dir="${voiceProjDir}/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
<pathelement location="${tomcat.home}/common/classes"/>
<fileset dir="${tomcat.home}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${tomcat.home}/bin">
<include name="*.jar"/>
</fileset>
</classpath>
<include name="**" />
<exclude name="tags/**" />
</javac>
<record name="${javaclog}" action="stop" />
</target>
<target name="all" depends="jspc,compile">
</target>
<target name="clean">
<delete file="${javaclog}" />
<delete dir="${voiceProjDir}/.WEB-INF"/> <!-- Clean any old existence of .WEB-INF -->
</target>
</project>[/code]
Thanks in advance.
Ricardo Sosa.