Ant Build - run

Forum for alternative clients, mods & discussions on the same.

Ant Build - run

Postby stya » Thu Mar 17, 2016 11:09 am

This:
<target name="run" depends="jars">
<java jar="build/hafen.jar" fork="true" />
</target>

Starts the client and the only thing I get is a white screen, did I miss something ?

I made a quick/dirty fix for me:

<target name="run2" depends="jars">
<copy todir="build">
<fileset dir="etc" includes="*.bat"/>
</copy>
<exec dir="build" executable="run_debug.bat" />
</target>

Edit: indentation got lost when submitting, sorry for your eyes, please fix forum code pasting ¦]

But it isn't exactly the same thing...
Image
User avatar
stya
 
Posts: 993
Joined: Wed May 21, 2014 3:13 pm

Re: Ant Build - run

Postby Ysh » Thu Mar 17, 2016 3:32 pm

stya wrote:This:
<target name="run" depends="jars">
<java jar="build/hafen.jar" fork="true" />
</target>

Starts the client and the only thing I get is a white screen, did I miss something ?

I made a quick/dirty fix for me:

<target name="run2" depends="jars">
<copy todir="build">
<fileset dir="etc" includes="*.bat"/>
</copy>
<exec dir="build" executable="run_debug.bat" />
</target>

Edit: indentation got lost when submitting, sorry for your eyes, please fix forum code pasting ¦]

But it isn't exactly the same thing...

Does it print to console in case of white screen? I think error message may agree to be enlightening us.
Kaios wrote:Spice Girls are integral to understanding Ysh's thought process when communicating, duly noted.

I have become victory of very nice Jordan Coles Contest! Enjoy my winning submit here if it pleasures you.
User avatar
Ysh
 
Posts: 5953
Joined: Sun Jan 31, 2010 4:43 am
Location: Chatting some friends on forum

Re: Ant Build - run

Postby stya » Fri Mar 18, 2016 1:51 am

No error message, just a white screen.

Edit:

The only extra informations I can give is that I'm using last intellij release, with java 1.8 on windows 8.
Image
User avatar
stya
 
Posts: 993
Joined: Wed May 21, 2014 3:13 pm


Return to The Wizards' Tower

Who is online

Users browsing this forum: Ahrefs [Bot] and 102 guests