RPTools.net

Discussion and Support

Skip to content

It is currently Wed May 22, 2013 6:00 am 






Reply to topic  [ 136 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 2603
Location: West Palm Beach, FL
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 12:38 pm 
jfrazierjr wrote:
No... your still not getting the problem.


How come he can run b67 on the machine and not b70?

According to the b71 thread, the question came up, "How come the move to Java 5?"

To which Craig responded:

Craig wrote:
It really makes no difference. Maptool was not using anything special in java 6, so the move to java 5 will not result in performance losses to those who still run it with Java 6."


B71 issues aside... The above exchange seems to indicate that b71 was compiled to Java 5... apparently like b67 and those before. Was there, or was there not, a change recently to compile to Java 6 that is causing b70 to fail for pre-Leopard Mac users?

My guess is, given what I've read elsewhere, that since compiling to Java 5 was throwing a bunch of errors that concerned Az, he moved to Java 6. The result of which has left some users behind.

If that's the case, the question still remains: Can a Java5 version be compiled for those people?

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Sep 11, 2007 6:31 pm
Posts: 5228
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 12:55 pm 
Full Bleed wrote:
jfrazierjr wrote:
No... your still not getting the problem.


How come he can run b67 on the machine and not b70?


As far as I know, he never said it would not run. My take was that he noticed the documentation which said 1.6 is required and that is what prompted his comments.

Full Bleed wrote:
According to the b71 thread, the question came up, "How come the move to Java 5?"

To which Craig responded:

Craig wrote:
It really makes no difference. Maptool was not using anything special in java 6, so the move to java 5 will not result in performance losses to those who still run it with Java 6."
umm don't know.

Full Bleed wrote:
B71 issues aside... The above exchange seems to indicate that b71 was compiled to Java 5... apparently like b67 and those before. Was there, or was there not, a change recently to compile to Java 6 that is causing b70 to fail for pre-Leopard Mac users?
Not as far as I know. The current project file is set to compile as 1.5 and has been for as long as I can remember. Unfortunately, it appears that the java compiler does not check the source libraries for binary comparability( and I don't know that I would expect it to) and I don't believe we have the licences to compile all of the libraries used by Maptool which might correct the issue. I think that the problem with String.isEmpty() that somehow slipped into the actual Maptool code a few builds ago(and was then removed) was that Azhrei may have overridden his project file setup to compile under 1.6 instead of 1.5 and he has since reverted I guess. (or perhaps Eclipse has a setting that forces a specific builder for all projects??)

_________________
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon May 03, 2010 2:03 am
Posts: 33
Location: Los Angeles, CA
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 6:09 pm 
Then what changed between b67 and b70 that causes the newer versions to not work on 1.5 at all whereas the older versions (seemed to|did)?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6300
Location: Las Cruces, NM
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 7:41 pm 
Are we certain it is the MapTool build that is the issue and not something to do with the the construction of the DMG file? As Joe noted, the MT project specifies Java 1.5 compatibility.

In a quick scan of the included libraries I don't see any that have changed since before the release of b67. This would imply that if MT b67 worked on a Mac with only 1.5 that later versions would as well.

Has the Mac user in question tried running off Webstart or by downloading the zip version and using that?

_________________
Call me, Hex Boy.

Visit http://www.darkisle.com for photos of castles, cairns, standing stones, and other ancient sites in the British Isles.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Sep 11, 2007 6:31 pm
Posts: 5228
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 7:43 pm 
kkragenbrink wrote:
Then what changed between b67 and b70 that causes the newer versions to not work on 1.5 at all whereas the older versions (seemed to|did)?


Ok.. real simple. one of the developers accidentally used a java method that only exists in Java 1.6 in a recent build. This caused someone to have a problem with whatever code part that method was added to. Once the error was tracked down to being due to an incorrect version of Java being used to build, the bad method was removed so all was as it was before. However, Azhrei then checked all of the third party libraries for that same method and found quite a few instances of it being used.

Perhaps the current code just happens to never use certain parts of those libraries at this moment which will cause a problem OR perhaps there is some existing Maptool code that will cause the third party libraries to break under Java 1.5 and it breaks under a very specific set of circumstances. I don't know. What I do know is that those third party libraries are used in TONS of places throughout the Maptool code and there really is no replacement for those libraries that would work under java 1.5 AND be easy to swap in(if they even exist, which I doubt they do).

_________________
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Sep 11, 2007 6:31 pm
Posts: 5228
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 7:47 pm 
Phergus wrote:
Are we certain it is the MapTool build that is the issue and not something to do with the the construction of the DMG file? As Joe noted, the MT project specifies Java 1.5 compatibility.


I just found out that this does not matter. When I first installed Eclipse, it picked up the latest JDK which was java 1.6. I latter installed Java 1.5. So, now, when I check the build properties and check the libraries, it shows it using JRE from 1.6 libraries, so even though we tell the project compatibility to be 1.5, at compile time and design time(where the missing method would have yelled at us in Eclipse if using a 1.5 JRE) it seems to work just fine. :evil:

Phergus wrote:
In a quick scan of the included libraries I don't see any that have changed since before the release of b67. This would imply that if MT b67 worked on a Mac with only 1.5 that later versions would as well.

See my previous post on the "issue"

_________________
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6300
Location: Las Cruces, NM
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 7:59 pm 
jfrazierjr wrote:
I just found out that this does not matter. When I first installed Eclipse, it picked up the latest JDK which was java 1.6. I latter installed Java 1.5. So, now, when I check the build properties and check the libraries, it shows it using JRE from 1.6 libraries, so even though we tell the project compatibility to be 1.5, at compile time and design time(where the missing method would have yelled at us in Eclipse if using a 1.5 JRE) it seems to work just fine.

It shouldn't matter if Eclipse is using a 1.6 or even 1.7 JRE. When the project is built and Eclipse issues the javac command it should be including the -target option with 1.5 to make sure the generated class files are compatible with Java 1.5 Note this isn't checking each method to see if it is available in the target version but merely ensures that the class files can be read by Java 1.5.

The end result will be a MT that loads and runs but then crashes when the missing method is hit. The poster is saying it doesn't load at all (at least that is my interpretation).

Off the top of my head I don't know if Eclipse will generate warnings about using methods not supported by the selected target. Given the zillion warnings that Eclipse throws up for the MT project you might never see them if they are there.

_________________
Call me, Hex Boy.

Visit http://www.darkisle.com for photos of castles, cairns, standing stones, and other ancient sites in the British Isles.


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 11622
Location: Tampa, FL
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 8:50 pm 
Heh. It's amazing that this conversation has lasted this long! :oops:

Let me say it one last time: there is no known code in MapTool that requires Java 1.6.

If you skipped over that last sentence, please go back and read it again. :)

It was postulated that perhaps the .dmg file is the problem. That seems very likely. [time passes] Okay, I just checked the Info.plist file that is inside the app bundle under the Contents directory. It specifies JVMVersion 1.6+ in the XML configuration.

@kkragenbrink: Have your Mac user try editing that file (using TextEdit, for example) and changing the setting to 1.5 and try again.

I didn't build the .dmg but I'm betting that the Apple Xcode application may not support generating a plist file with an older JVMVersion in it. I don't know. The Web Start version specifies Java 1.5 so if that works, perhaps he should use it instead?

At some point you'll need to break the news to your Mac user that the PowerPC chip is dead. In just five short years Apple has introduced three versions of their OS on Intel and another is due soon. That would be like a Windows user still being on Win98 when Win7 comes out.

_________________
Interested in Time Magazine's Best Invention of 2008 Unix-powered laptop? No crashes or lockups. In fact, that series of articles has two such machines. The other is a Dell netbook. :)


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon May 03, 2010 2:03 am
Posts: 33
Location: Los Angeles, CA
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 9:01 pm 
Azhrei wrote:
@kkragenbrink: Have your Mac user try editing that file (using TextEdit, for example) and changing the setting to 1.5 and try again.


Will do. Thanks for the suggestion/hopeful fix. They're on vacation right now but I'll let you know if this works when they're back.

Azhrei wrote:
At some point you'll need to break the news to your Mac user that the PowerPC chip is dead. In just five short years Apple has introduced three versions of their OS on Intel and another is due soon. That would be like a Windows user still being on Win98 when Win7 comes out.


Yeah, I completely understand. But I can't force a player to ugprade their entire system just for a bi-weekly D&D game. At some point, I'm sure MT will require 1.6, at which point I will have to stop upgrading.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6300
Location: Las Cruces, NM
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Fri Aug 06, 2010 9:44 pm 
Thanks for checking that Az!

_________________
Call me, Hex Boy.

Visit http://www.darkisle.com for photos of castles, cairns, standing stones, and other ancient sites in the British Isles.


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 2603
Location: West Palm Beach, FL
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Sat Aug 07, 2010 1:07 am 
Azhrei wrote:
Heh. It's amazing that this conversation has lasted this long! :oops:

Not amazing to me. Given that I, too, just recently ran into a user having this problem for the first time (not being able to install b70) and then after seeing what was said in the B71 build thread, and given that there has certainly been indications that some things have been recently changed with how the project was built (to avoid certain errors), it was fairly obvious to people actually experiencing the problem that *something* changed. Only the developers, though, knew exactly what, and while we rely on them to make the best decisions possible we also don't just assume they are infalible.

While you guys couldn't understand from the language that kkragenbrink used that b70 would NOT run on the Mac (all 3 times), I could because of my perspective. In the same manner that a simple, "Nothing has changed since b67" would have been a heck of a lot clearer than the responses he was getting to the issue. ;)

At any rate, it sounds like we're all speaking the same language again, and hopefully Az has nailed down the issue so some dark-age players can continue to game.


Quote:
Let me say it one last time: there is no known code in MapTool that requires Java 1.6.

If you skipped over that last sentence, please go back and read it again. :)

No offense, but that statement, like kkragenbrink's use of "hoaked" is about as clear as mud to someone experiencing the problem. It doesn't explain why it doesn't work for people. It just assumes they're all to stupid to understand something that doesn't address the issue so they best read the sentence twice to "get it." :roll:


Quote:
At some point you'll need to break the news to your Mac user that the PowerPC chip is dead. In just five short years Apple has introduced three versions of their OS on Intel and another is due soon. That would be like a Windows user still being on Win98 when Win7 comes out.

I just want to know when are we going to get backward compatibility for the Amiga. Isn't there a check-box you guys can click to make that happen?

*taps foot impatiently*

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Fri Sep 14, 2007 2:38 am
Posts: 323
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Sat Aug 07, 2010 7:15 am 
Amiga!!! :lol: :lol: :lol:

You made me snort hot coffee!


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6300
Location: Las Cruces, NM
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Sat Aug 07, 2010 8:44 am 
We could port MT from Java to AREXX and run it on the Amiga. :lol: Just think of the cool things you could do with AREXX hooks into MT!

_________________
Call me, Hex Boy.

Visit http://www.darkisle.com for photos of castles, cairns, standing stones, and other ancient sites in the British Isles.


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 11622
Location: Tampa, FL
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Sat Aug 07, 2010 11:14 am 
Oh, cool idea!! I'll have to pull my A500 and/or A3000 out of the attic and try that out! I should have something working by tomorrow evening although I'll have to blow away Amix (Amiga Unix SVR4) and reinstall AmigaDOS...

:mrgreen:

_________________
Interested in Time Magazine's Best Invention of 2008 Unix-powered laptop? No crashes or lockups. In fact, that series of articles has two such machines. The other is a Dell netbook. :)


Top
 Profile  
 
 Offline
Cave Troll
 
Joined: Mon May 03, 2010 2:03 am
Posts: 33
Location: Los Angeles, CA
 Post subject: Re: MapTool 1.3 Bugfix Build 70
PostPosted: Sun Aug 08, 2010 4:49 am 
It is times like this that I wish for a facepalm smiley.


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 136 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next

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 are 0 users online :: 0 registered, 0 hidden and 0 guests (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 0 guests





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

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman