Page 1 of 1

How to Compile with tortoise SVN.

Posted: Fri Feb 11, 2011 10:28 pm
by bareta
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: Last
L2JDP Revision Number: Last

how to proceed to compile packs with tortoise svn ? i have search for a guide, but no luck....

Re: How to Compile with tortoise SVN.

Posted: Sat Feb 12, 2011 10:59 am
by jurchiks
Tortoise SVN does NOT compile anything! To compile l2jserver you need Ant, which is built-in in Eclipse and Netbeans.

Re: How to Compile with tortoise SVN.

Posted: Sat Feb 12, 2011 11:25 am
by tukune

Re: How to Compile with tortoise SVN.

Posted: Sat Feb 12, 2011 3:45 pm
by bareta
with eclipse is ok...

but tortoise, in freya don`t have any script for that ??

Re: How to Compile with tortoise SVN.

Posted: Sat Feb 12, 2011 4:56 pm
by VlLight
bareta wrote: but tortoise, in freya don`t have any script for that ??
cd source
drive:\ant\bin\ant

Where source - folder with build.xml file,
drive:\ant - path to Ant's bin folder

Re: How to Compile with tortoise SVN.

Posted: Sat Feb 12, 2011 4:59 pm
by jurchiks
Tortoise is only a GUI for SVN command line, all it does is works with repository files (checkout/commit/diff/sync and stuff like that).

Re: How to Compile with tortoise SVN.

Posted: Sun Feb 13, 2011 5:11 am
by tukune
opps. try this bat

Code: Select all

SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_23SET ANT_HOME=C:\eclipse\plugins\org.apache.ant_1.7.1.v20100518-1145javac -version 2>NUL||PATH %JAVA_HOME%\bin;%PATH%TITLE L2J_ServerPUSHD L2J_ServerCALL "%ANT_HOME%\bin\ant.bat"POPDTITLE L2J_DataPackPUSHD L2J_DataPackCALL "%ANT_HOME%\bin\ant.bat"POPD@PAUSE

Re: How to Compile with tortoise SVN.

Posted: Wed Jan 25, 2012 12:08 am
by d0ds
I have problem with Ant Version, how can I update it?

Re: How to Compile with tortoise SVN.

Posted: Wed Jan 25, 2012 12:18 am
by MELERIX
tukune wrote:opps. try this bat

Code: Select all

SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_23SET ANT_HOME=C:\eclipse\plugins\org.apache.ant_1.7.1.v20100518-1145javac -version 2>NUL||PATH %JAVA_HOME%\bin;%PATH%TITLE L2J_ServerPUSHD L2J_ServerCALL "%ANT_HOME%\bin\ant.bat"POPDTITLE L2J_DataPackPUSHD L2J_DataPackCALL "%ANT_HOME%\bin\ant.bat"POPD@PAUSE
that is outdated... :roll:

JDK 6u23 ?
Ant 1.7.1 ?

lol that is not compatible with L2J.

Re: How to Compile with tortoise SVN.

Posted: Wed Jan 25, 2012 12:19 am
by MELERIX
d0ds wrote:I have problem with Ant Version, how can I update it?
downloading and installing the last version from official website, is not obvious ? :roll:

http://ant.apache.org/

anyway better use Eclipse, follow this guides: viewtopic.php?f=2&t=10719

Re: How to Compile with tortoise SVN.

Posted: Wed Jan 25, 2012 1:01 am
by d0ds
I use eclipse, I update everything and still got this error
H:\eclipse\project\L2J_Server\build.xml:171: Ant 1.8.2 is required. But your version is Apache Ant version 1.7.1 compiled on June 27 2008

Re: How to Compile with tortoise SVN.

Posted: Wed Jan 25, 2012 1:07 am
by MELERIX
you are using a outdated version of Eclipse then, check the guide again and download the right version.

Re: How to Compile with tortoise SVN.

Posted: Wed Jan 25, 2012 1:14 am
by d0ds
ok thanks! I'll check.