HardCoreIV Posted April 18, 2015 Posted April 18, 2015 (edited) Im trying to compile L2JHellas and im very confused. L2JHellasD/build.xml is succesful but L2JHellasC/build.xml is not! Here's the xml console error http://pastebin.com/aUApNR6h And here's what build.xml says inside http://pastebin.com/4fWE3p3M Thank you once again... Edited April 18, 2015 by HardCoreIV
0 Nightw0lf Posted April 18, 2015 Posted April 18, 2015 download silksvn install and restart computer
0 HardCoreIV Posted April 18, 2015 Author Posted April 18, 2015 download silksvn install and restart computer i already got silk svn. which version should i get?
0 HardCoreIV Posted April 18, 2015 Author Posted April 18, 2015 download silksvn install and restart computer And why is your name here? :poker face:
0 Nightw0lf Posted April 18, 2015 Posted April 18, 2015 because i was one of the devs? :poker face: http://www.mediafire.com/download/7khmlo6xhlzlv53/CollabNetSubversion-client-1.7.8-1-Win32.exe http://www.mediafire.com/download/q4i9g8ubsx841ni/CollabNetSubversion-client-1.7.8-1-x64.exe 32 and 64 bit versions download->install->restart pc propably fix. bout that error javac: invalid target release: 1.8 download JDK 1.8 install it restart point JDK from eclipse you're done.
0 HardCoreIV Posted April 18, 2015 Author Posted April 18, 2015 because i was one of the devs? :poker face: http://www.mediafire.com/download/7khmlo6xhlzlv53/CollabNetSubversion-client-1.7.8-1-Win32.exe http://www.mediafire.com/download/q4i9g8ubsx841ni/CollabNetSubversion-client-1.7.8-1-x64.exe 32 and 64 bit versions download->install->restart pc propably fix. bout that error javac: invalid target release: 1.8 download JDK 1.8 install it restart point JDK from eclipse you're done. haha awesome dude :) thanks for the help too :)
0 'Baggos' Posted April 18, 2015 Posted April 18, 2015 because i was one of the devs? :poker face: http://www.mediafire.com/download/7khmlo6xhlzlv53/CollabNetSubversion-client-1.7.8-1-Win32.exe http://www.mediafire.com/download/q4i9g8ubsx841ni/CollabNetSubversion-client-1.7.8-1-x64.exe 32 and 64 bit versions download->install->restart pc propably fix. bout that error javac: invalid target release: 1.8 download JDK 1.8 install it restart point JDK from eclipse you're done. Because I tried to build L2JHellas and I got the same error, I changed my Java 1.7 with 1.8 and etc.. But nothing.. It is possible to work with http://subclipse.tigris.org/update_1.6.x/ ?
0 Nightw0lf Posted April 18, 2015 Posted April 18, 2015 (edited) i actually do 7 things to compile hellas from start install jdk 1.8->download eclipse luna->marketplace ->subclipse installation->download and install silk or subversion->point eclipse to jdk->compile and done :s if any of this steps need more explaination i can try to make it more clear then baggo to subclipse apo to marketplace einai manisio 1.10 an kai den xreiazete na to kaneis install sto luna giafto to proteinw Edited April 18, 2015 by Nightw0lf
0 HardCoreIV Posted April 18, 2015 Author Posted April 18, 2015 Just delete from build.xml subversion check. Where is that line exactly?
0 HardCoreIV Posted April 18, 2015 Author Posted April 18, 2015 Post here your build.xml and i crop all. And here's what build.xml says inside http://pastebin.com/4fWE3p3M
0 Rootware Posted April 18, 2015 Posted April 18, 2015 (edited) <?xml version="1.0" encoding="UTF-8"?> <project name="L2JHellasC" default="Build" basedir="."> <description> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses. </description> <property name="src" location="java" /> <property name="libs" location="libs" /> <property name="build" location="../build/Core" /> <property name="build.classes" location="${build}/classes" /> <property name="build.dist" location="${build}/dist" /> <property name="build.dist.doc" location="${build.dist}/doc" /> <property name="build.dist.doc.3rdPartyLicenses" location="${build.dist}/doc/3rdPartyLicenses" /> <property name="build.dist.login" location="${build.dist}/login" /> <property name="build.dist.game" location="${build.dist}/gameserver" /> <property name="build.dist.libs" location="${build.dist}/libs" /> <path id="classpath"> <fileset dir="${libs}"> <include name="*.jar" /> </fileset> </path> <echo>Building L2j Hellas.</echo> <target name="Building Dirs" depends="Clean" description="Create the output directories."> <mkdir dir="${build}" /> <mkdir dir="${build.classes}" /> <mkdir dir="${build.dist}" /> <mkdir dir="${build.dist.doc}" /> <mkdir dir="${build.dist.doc.3rdPartyLicenses}" /> <mkdir dir="${build.dist.login}" /> <mkdir dir="${build.dist.game}" /> <mkdir dir="${build.dist.libs}" /> </target> <target name="Compile" depends="Requirements" description="Compile the source."> <echo>Compiling L2J Hellas.</echo> <javac compiler="javac1.8" destdir="${build.classes}" optimize="on" encoding="utf-8" debug="true" debuglevel="lines,vars,source" source="1.8" target="1.8" nowarn="off" includeantruntime="true"> <src path="${src}" /> <classpath refid="classpath" /> </javac> </target> <target name="Jar" depends="Compile" description="Create the jar file"> <jar destfile="${build}/l2jhellas.jar" level="9"> <fileset dir="${build.classes}" /> <manifest> <attribute name="Built-By" value="L2JHellas" /> <attribute name="Built-Date" value="${build.tstamp}" /> <attribute name="Implementation-URL" value="http://www.l2jhellas.info/" /> <attribute name="Implementation-Version" value="${revision}" /> <attribute name="Main-Class" value="com.l2jhellas.Server" /> <attribute name="Class-Path" value=". BoneCP-0.7.1.jar bsf-2.4.0.jar bsh-2.0b4.jar bsh-engine.jar ecj-4.4.jar google-collect-1.0.jar java-engine-1.8.jar javolution.jar jna-3.5.1.jar mail.jar mmocore.jar mysql-connector-java-5.1.33-bin.jar slf4j-api-1.7.5.jar slf4j-simple-1.7.5.jar Subnet-1.0.jar worldwind.jar " /> </manifest> </jar> <copy todir="${build.dist.libs}"> <fileset dir="${build}"> <include name="*.jar" /> </fileset> </copy> </target> <target name="dist" depends="Jar"> <concat destfile="${build.dist}/L2JHellas_CHANGELOG.txt">${l2jhellas.changelog}</concat> </target> <!-- Basic Build --> <target name="Build" depends="dist"> <echo>Creating L2J Hellas Server:</echo> <copy todir="${build.dist.login}"> <fileset dir="config"> <include name="log.cfg" /> <include name="BannedIPs.cfg" /> <include name="console.cfg" /> </fileset> </copy> <copy todir="${build.dist.game}"> <fileset dir="config"> <include name="log.cfg" /> <include name="console.cfg" /> </fileset> </copy> <copy todir="${build.dist.libs}"> <fileset dir="${src}/../libs"> <include name="*.jar" /> </fileset> </copy> <copy todir="${build.dist.login}"> <fileset dir="dist"> <include name="startAccountManager.bat" /> <include name="startSQLAccountManager.bat" /> <include name="LoginServer_loop.bat" /> <include name="startLoginServer.bat" /> <include name="RegisterGameServer.bat" /> </fileset> </copy> <copy todir="${build.dist.game}"> <fileset dir="dist"> <include name="startGameServer.bat" /> </fileset> </copy> <copy todir="${build.dist.doc}"> <fileset dir="doc"> <include name="*.txt" /> </fileset> </copy> <copy todir="${build.dist.doc.3rdPartyLicenses}"> <fileset dir="doc/3rdPartyLicenses"> <include name="*.txt" /> </fileset> </copy> <!-- Game Server --> <copy todir="${build.dist.game}/config"> <fileset dir="config"> <include name="Telnet.ini" /> </fileset> </copy> <copy todir="${build.dist.login}/config"> <fileset dir="config"> <include name="Telnet.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Admin"> <fileset dir="config/Admin"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Events"> <fileset dir="config/Events"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Main"> <fileset dir="config/Main"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Mods"> <fileset dir="config/Mods"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Network"> <fileset dir="config/Network"> <include name="*.ini" /> <include name="*.xml" /> <exclude name="LoginServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Network/IPConfig"> <fileset dir="config/Network/IPConfig"> <include name="IPGameServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Olympiad"> <fileset dir="config/Olympiad"> <include name="*.ini" /> </fileset> </copy> <!-- Login server --> <copy todir="${build.dist.login}/config/Network"> <fileset dir="config/Network"> <include name="*.ini" /> <include name="*.xml" /> <exclude name="GameServer.ini" /> </fileset> </copy> <copy todir="${build.dist.login}/config/Network/IPConfig"> <fileset dir="config/Network/IPConfig"> <include name="IPLoginServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Others"> <fileset dir="config/Others"> <include name="*.*" /> </fileset> </copy> <copy todir="${build.dist.login}/config/Others"> <fileset dir="config/Others"> <include name="*.cfg" /> <include name="*.ini" /> </fileset> </copy> <!-- Finalizing --> <zip destfile="${build}/L2J_Hellas_Core_${revision}.zip" basedir="${build.dist}" level="9" /> <mkdir dir="C:/L2JHellas" /> <mkdir dir="C:/L2JHellas/Backup" /> <echo>Store L2jhellas.</echo> <unzip src="${build}/L2J_Hellas_Core_${revision}.zip" dest="C:/L2JHellas" /> <echo>Backup L2jhellas.</echo> <copy file="${build}/L2J_Hellas_Core_${revision}.zip" todir="C:/L2JHellas/Backup"> </copy> <delete dir="${build}" /> <echo>L2J Hellas Server version:${revision} stored in C:/L2JHellas.</echo> <echo>Please visit our forum http://l2jhellas.info/</echo> <echo>Owner Boorinio.</echo> </target> <!-- Requirements --> <target name="Requirements" description="Check Requirements."> <fail message="Ant 1.9.1 is required But your version is ${ant.version} and if you are using Eclipse probably is outdated."> <condition> <not> <antversion atleast="1.9.1" /> </not> </condition> </fail> <available classname="java.util.stream.Stream" property="JDK8.present" /> <fail unless="JDK8.present" message="Java 1.8 is required. But your version is Java ${ant.java.version} and probably JDK is not installed." /> </target> <!-- Clean UP --> <target name="Clean" description="Remove the build directories before the compile."> <delete dir="${build}" /> </target> </project> Done. Pastebin link. Edited April 18, 2015 by Rootware
0 HardCoreIV Posted April 18, 2015 Author Posted April 18, 2015 <?xml version="1.0" encoding="UTF-8"?> <project name="L2JHellasC" default="Build" basedir="."> <description> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses. </description> <property name="src" location="java" /> <property name="libs" location="libs" /> <property name="build" location="../build/Core" /> <property name="build.classes" location="${build}/classes" /> <property name="build.dist" location="${build}/dist" /> <property name="build.dist.doc" location="${build.dist}/doc" /> <property name="build.dist.doc.3rdPartyLicenses" location="${build.dist}/doc/3rdPartyLicenses" /> <property name="build.dist.login" location="${build.dist}/login" /> <property name="build.dist.game" location="${build.dist}/gameserver" /> <property name="build.dist.libs" location="${build.dist}/libs" /> <path id="classpath"> <fileset dir="${libs}"> <include name="*.jar" /> </fileset> </path> <echo>Building L2j Hellas.</echo> <target name="Building Dirs" depends="Clean" description="Create the output directories."> <mkdir dir="${build}" /> <mkdir dir="${build.classes}" /> <mkdir dir="${build.dist}" /> <mkdir dir="${build.dist.doc}" /> <mkdir dir="${build.dist.doc.3rdPartyLicenses}" /> <mkdir dir="${build.dist.login}" /> <mkdir dir="${build.dist.game}" /> <mkdir dir="${build.dist.libs}" /> </target> <target name="Compile" depends="Requirements" description="Compile the source."> <echo>Compiling L2J Hellas.</echo> <javac compiler="javac1.8" destdir="${build.classes}" optimize="on" encoding="utf-8" debug="true" debuglevel="lines,vars,source" source="1.8" target="1.8" nowarn="off" includeantruntime="true"> <src path="${src}" /> <classpath refid="classpath" /> </javac> </target> <target name="Jar" depends="Compile" description="Create the jar file"> <jar destfile="${build}/l2jhellas.jar" level="9"> <fileset dir="${build.classes}" /> <manifest> <attribute name="Built-By" value="L2JHellas" /> <attribute name="Built-Date" value="${build.tstamp}" /> <attribute name="Implementation-URL" value="http://www.l2jhellas.info/" /> <attribute name="Implementation-Version" value="${revision}" /> <attribute name="Main-Class" value="com.l2jhellas.Server" /> <attribute name="Class-Path" value=". BoneCP-0.7.1.jar bsf-2.4.0.jar bsh-2.0b4.jar bsh-engine.jar ecj-4.4.jar google-collect-1.0.jar java-engine-1.8.jar javolution.jar jna-3.5.1.jar mail.jar mmocore.jar mysql-connector-java-5.1.33-bin.jar slf4j-api-1.7.5.jar slf4j-simple-1.7.5.jar Subnet-1.0.jar worldwind.jar " /> </manifest> </jar> <copy todir="${build.dist.libs}"> <fileset dir="${build}"> <include name="*.jar" /> </fileset> </copy> </target> <target name="dist" depends="Jar"> <concat destfile="${build.dist}/L2JHellas_CHANGELOG.txt">${l2jhellas.changelog}</concat> </target> <!-- Basic Build --> <target name="Build" depends="dist"> <echo>Creating L2J Hellas Server:</echo> <copy todir="${build.dist.login}"> <fileset dir="config"> <include name="log.cfg" /> <include name="BannedIPs.cfg" /> <include name="console.cfg" /> </fileset> </copy> <copy todir="${build.dist.game}"> <fileset dir="config"> <include name="log.cfg" /> <include name="console.cfg" /> </fileset> </copy> <copy todir="${build.dist.libs}"> <fileset dir="${src}/../libs"> <include name="*.jar" /> </fileset> </copy> <copy todir="${build.dist.login}"> <fileset dir="dist"> <include name="startAccountManager.bat" /> <include name="startSQLAccountManager.bat" /> <include name="LoginServer_loop.bat" /> <include name="startLoginServer.bat" /> <include name="RegisterGameServer.bat" /> </fileset> </copy> <copy todir="${build.dist.game}"> <fileset dir="dist"> <include name="startGameServer.bat" /> </fileset> </copy> <copy todir="${build.dist.doc}"> <fileset dir="doc"> <include name="*.txt" /> </fileset> </copy> <copy todir="${build.dist.doc.3rdPartyLicenses}"> <fileset dir="doc/3rdPartyLicenses"> <include name="*.txt" /> </fileset> </copy> <!-- Game Server --> <copy todir="${build.dist.game}/config"> <fileset dir="config"> <include name="Telnet.ini" /> </fileset> </copy> <copy todir="${build.dist.login}/config"> <fileset dir="config"> <include name="Telnet.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Admin"> <fileset dir="config/Admin"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Events"> <fileset dir="config/Events"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Main"> <fileset dir="config/Main"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Mods"> <fileset dir="config/Mods"> <include name="*.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Network"> <fileset dir="config/Network"> <include name="*.ini" /> <include name="*.xml" /> <exclude name="LoginServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Network/IPConfig"> <fileset dir="config/Network/IPConfig"> <include name="IPGameServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Olympiad"> <fileset dir="config/Olympiad"> <include name="*.ini" /> </fileset> </copy> <!-- Login server --> <copy todir="${build.dist.login}/config/Network"> <fileset dir="config/Network"> <include name="*.ini" /> <include name="*.xml" /> <exclude name="GameServer.ini" /> </fileset> </copy> <copy todir="${build.dist.login}/config/Network/IPConfig"> <fileset dir="config/Network/IPConfig"> <include name="IPLoginServer.ini" /> </fileset> </copy> <copy todir="${build.dist.game}/config/Others"> <fileset dir="config/Others"> <include name="*.*" /> </fileset> </copy> <copy todir="${build.dist.login}/config/Others"> <fileset dir="config/Others"> <include name="*.cfg" /> <include name="*.ini" /> </fileset> </copy> <!-- Finalizing --> <zip destfile="${build}/L2J_Hellas_Core_${revision}.zip" basedir="${build.dist}" level="9" /> <mkdir dir="C:/L2JHellas" /> <mkdir dir="C:/L2JHellas/Backup" /> <echo>Store L2jhellas.</echo> <unzip src="${build}/L2J_Hellas_Core_${revision}.zip" dest="C:/L2JHellas" /> <echo>Backup L2jhellas.</echo> <copy file="${build}/L2J_Hellas_Core_${revision}.zip" todir="C:/L2JHellas/Backup"> </copy> <delete dir="${build}" /> <echo>L2J Hellas Server version:${revision} stored in C:/L2JHellas.</echo> <echo>Please visit our forum http://l2jhellas.info/</echo> <echo>Owner Boorinio.</echo> </target> <!-- Requirements --> <target name="Requirements" description="Check Requirements."> <fail message="Ant 1.9.1 is required But your version is ${ant.version} and if you are using Eclipse probably is outdated."> <condition> <not> <antversion atleast="1.9.1" /> </not> </condition> </fail> <available classname="java.util.stream.Stream" property="JDK8.present" /> <fail unless="JDK8.present" message="Java 1.8 is required. But your version is Java ${ant.java.version} and probably JDK is not installed." /> </target> <!-- Clean UP --> <target name="Clean" description="Remove the build directories before the compile."> <delete dir="${build}" /> </target> </project> Done. Pastebin link. Thank you for your time and effort, im rebuilding the project again ill see if i get the same error following wolf's steps and also see if the above fixes it
0 SweeTs Posted April 18, 2015 Posted April 18, 2015 Just delete from build.xml subversion check. This. I did like that in past. Else change the 1.8 info to 1.7 or w/e. But the best way is to drop it.
0 HardCoreIV Posted April 19, 2015 Author Posted April 19, 2015 Whatever, thanks guys I'll figure something out eventually... You can lock this
Question
HardCoreIV
Im trying to compile L2JHellas and im very confused.
L2JHellasD/build.xml is succesful but
L2JHellasC/build.xml is not!
Here's the xml console error http://pastebin.com/aUApNR6h
And here's what build.xml says inside http://pastebin.com/4fWE3p3M
Thank you once again...
Edited by HardCoreIV17 answers to this question
Recommended Posts