How to Compile with tortoise SVN.

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
bareta
Posts: 12
Joined: Mon Nov 05, 2007 4:52 pm

How to Compile with tortoise SVN.

Post 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....
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How to Compile with tortoise SVN.

Post by jurchiks »

Tortoise SVN does NOT compile anything! To compile l2jserver you need Ant, which is built-in in Eclipse and Netbeans.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: How to Compile with tortoise SVN.

Post by tukune »

bareta
Posts: 12
Joined: Mon Nov 05, 2007 4:52 pm

Re: How to Compile with tortoise SVN.

Post by bareta »

with eclipse is ok...

but tortoise, in freya don`t have any script for that ??
User avatar
VlLight
L2j Veteran
L2j Veteran
Posts: 577
Joined: Fri Dec 14, 2007 11:58 am
Location: Russia

Re: How to Compile with tortoise SVN.

Post 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
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How to Compile with tortoise SVN.

Post 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).
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: How to Compile with tortoise SVN.

Post 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
d0ds
Posts: 3
Joined: Fri Oct 29, 2010 11:53 pm

Re: How to Compile with tortoise SVN.

Post by d0ds »

I have problem with Ant Version, how can I update it?
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How to Compile with tortoise SVN.

Post 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.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How to Compile with tortoise SVN.

Post 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
d0ds
Posts: 3
Joined: Fri Oct 29, 2010 11:53 pm

Re: How to Compile with tortoise SVN.

Post 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
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How to Compile with tortoise SVN.

Post by MELERIX »

you are using a outdated version of Eclipse then, check the guide again and download the right version.
d0ds
Posts: 3
Joined: Fri Oct 29, 2010 11:53 pm

Re: How to Compile with tortoise SVN.

Post by d0ds »

ok thanks! I'll check.
Post Reply