<target name="compile-core"
depends="init">
<compile-java projectdir="${dir.project.core}" /> "Esta es la linea 25 que genera un error"
</target>
<macrodef name="compile-java" description="Compiles Java source files in the given project">
<attribute name="projectdir" />
<attribute name="compileExcludes" default="" />
<sequential>
<mkdir dir="@{projectdir}/${dir.name.build}/${dir.name.classes}" />
<javac destdir="@{projectdir}/${dir.name.build}/${dir.name.classes}" fork="true"
memoryMaximumSize="${mem.size.max}" deprecation="${javac.deprecation}"
debug="${javac.debug}" target="${javac.target}" source="${javac.source}" encoding="${javac.encoding}"
excludes="@{compileExcludes}" > "Esta es la linea 27 que genera el error"
<src path="@{projectdir}/${dir.name.source}/${dir.name.java}" />
<classpath>
<path refid="classpath.compile"/>
<path refid="classpath.compile.extension"/>
</classpath>
<!– To run javac with Xlint:unchecked, uncomment the line below –>
<!– <compilerarg value="-Xlint:unchecked"/> –>
</javac>
<copy todir="@{projectdir}/${dir.name.build}/${dir.name.classes}">
<fileset dir="@{projectdir}/${dir.name.source}/${dir.name.java}">
<patternset>
<exclude name="**/*.java" />
<exclude name="log4j.properties" />
</patternset>
</fileset>
</copy>
</sequential>
</macrodef>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.