RPTools.net

Discussion and Support

Skip to content

It is currently Fri Nov 24, 2017 1:32 pm 




Forum rules


Posting now open to all registered forum users.



Reply to topic  [ 2 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Thu Oct 19, 2017 11:36 am
Posts: 24
 Post subject: Bag of minor issues when building maptool
PostPosted: Wed Nov 08, 2017 4:57 am 
Hello,

I'm trying to build maptool from the source code. I should warn you that I'm a total noob regarding the java system in general, so I may just add noise here, feel free to ignore my comments if they are just a consequence of my noobitude.

1/ On linux, I had issues with some file CRLF vs LF on the master branch (licence files). Is there a rule regarding the use of CRLF ? I may just have to configure properly my git client on linux

# modified: maptool/src/dist/lib/readme/commons-beanutils-1.8.3-LICENSE.txt
# modified: maptool/src/dist/lib/readme/commons-io-2.0.1-LICENSE.txt
# modified: maptool/src/dist/lib/readme/commons-lang-2.6-LICENSE.txt
# modified: maptool/src/dist/lib/readme/commons-logging-LICENSE.txt
# modified: maptool/src/dist/lib/readme/renderpack-LICENSE.txt
# modified: maptool/src/dist/lib/readme/xpp3-license.txt


2/ switching to the branch 1.4 using the tag 1.4.1.8

Code:
17ec2e7 (HEAD, tag: 1.4.1.8) Merge pull request #142 from Azhrei/1.4.1-dev-branch


3/ "gradlew build" works

4/ "gradlew release" doesn't. I have the same error on windows 64 or Linux 64. I'm not even sure I should execute this. I was trying to build an standalone executable.

Couldn't find 'gradle.properties' file in any parent (30 levels searched).
:maptool:createSplashImages FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':maptool:createSplashImages'.
> Process 'command '/home/bobifle/maptool/src/jdk/jdk1.8.0_151/bin/java'' finished with non-zero exit value 1


5/ "gradlew run" kinda works. I have error messages bu in the end, maptools launches

AVERTISSEMENT: <html><b>launch.properties</b>: MapTool .jar not found (EXECUTABLE): <b>/home/bobifle/maptool/src/maptool/launcher/build/classes/MapTool-1.4.1.7-fat.jar</b>


6/ Finaly everything from the launcher to the maptool menus and splash screen advertise a 1.4.1.7 version. I wonder if the tag 1.4.1.8 has been properly placed.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1706
Location: Chicagoland
 Post subject: Re: Bag of minor issues when building maptool
PostPosted: Fri Nov 10, 2017 10:37 pm 
If you want to create an "installable" image, you need to download the JDK's and place them in a directory and place the path in a gradle.properties file specific to your system. See the gradle.properties.sample file.

It "works" but it wasn't ideal which is why I am moving towards using javapackager, now that it's pretty useful/stable with Java 1.8.

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 2 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman