Menu

#16 Compiling Issues

v2.0
open
nobody
None
1
2016-05-16
2016-05-16
Jacob Roth
No

Hi all, I was trying to compile VTable from source on Arch Linux (Java 1.8, 64 bit) and hack on it. I downloaded the source, but when I run ant, I got some complaints from the compiler about Java versions. I fixed this by changing the "source" and "target" from 1.4 to 8 in the build.xml

On trying to compile again, I got errors stemming from "package com.maziade.tools does not exist". I fixed these by moving the "maziade" folder from maztools/com to src/com . Then I can finally get a successful compile.

But when I try to run the jarfile ant produces under gen/, I get this output:

Hello world!
java.util.MissingResourceException: Can't find bundle for base name com.gametable.data.resources, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:773)
    at com.maziade.props.XProperties$XPropertyInfo.getGroupDisplayName(XProperties.java:199)
    at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:67)
    at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:31)
    at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
    at java.util.TimSort.sort(TimSort.java:220)
    at java.util.Arrays.sort(Arrays.java:1512)
    at java.util.ArrayList.sort(ArrayList.java:1454)
    at java.util.Collections.sort(Collections.java:175)
    at com.maziade.props.XProperties.addProperty(XProperties.java:933)
    at com.maziade.props.XProperties.addTextProperty(XProperties.java:817)
    at com.gametable.data.GameTableCore.initializeProperties(GameTableCore.java:1940)
    at com.gametable.data.GameTableCore.loadProperties(GameTableCore.java:1958)
    at com.gametable.GametableApp.main(GametableApp.java:127)

Any idea what's broken here?

Discussion

  • nijineko

    nijineko - 2016-05-16

    It sounds like you might be pulling from one of the incomplete forks that
    developer left laying around, at a guess? Or perhaps, a later dev has been
    tinkering. I can ask and see what I turn up.

    Nijineko
    On May 15, 2016 9:58 PM, "Jacob Roth" jrothhmc@users.sf.net wrote:


    Status: open
    Group: v2.0
    Created: Mon May 16, 2016 03:58 AM UTC by Jacob Roth
    Last Updated: Mon May 16, 2016 03:58 AM UTC
    Owner: nobody

    Hi all, I was trying to compile VTable from source on Arch Linux (Java
    1.8, 64 bit) and hack on it. I downloaded the source, but when I run ant, I
    got some complaints from the compiler about Java versions. I fixed this by
    changing the "source" and "target" from 1.4 to 8 in the build.xml

    On trying to compile again, I got errors stemming from "package
    com.maziade.tools does not exist". I fixed these by moving the "maziade"
    folder from maztools/com to src/com . Then I can finally get a successful
    compile.

    But when I try to run the jarfile ant produces under gen/, I get this
    output:

    Hello world!java.util.MissingResourceException: Can't find bundle for base name com.gametable.data.resources, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) at java.util.ResourceBundle.getBundle(ResourceBundle.java:773) at com.maziade.props.XProperties$XPropertyInfo.getGroupDisplayName(XProperties.java:199) at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:67) at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:31) at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) at java.util.TimSort.sort(TimSort.java:220) at java.util.Arrays.sort(Arrays.java:1512) at java.util.ArrayList.sort(ArrayList.java:1454) at java.util.Collections.sort(Collections.java:175) at com.maziade.props.XProperties.addProperty(XProperties.java:933) at com.maziade.props.XProperties.addTextProperty(XProperties.java:817) at com.gametable.data.GameTableCore.initializeProperties(GameTableCore.java:1940) at com.gametable.data.GameTableCore.loadProperties(GameTableCore.java:1958) at com.gametable.GametableApp.main(GametableApp.java:127)

    Any idea what's broken here?

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/gametableproj/bugs/16/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     
    • Jacob Roth

      Jacob Roth - 2016-05-16

      I got the code from here:

      svn checkout svn://svn.code.sf.net/p/gametableproj/code/trunk gametableproj-code

       
      • nijineko

        nijineko - 2016-05-16

        I see. I will have to apologize to you as I have no idea if that location
        is the working rc9 version or not. I've never used the svn to pull the code
        for compiling.

        You see, I am the owner by default, the last community member standing who
        inherited the project, not a dev myself. The last active dev started making
        some changes, life got busy, and left the code partially unfinished. I
        don't know which fork he left set as the main trunk. From the sound of your
        experience in guessing his working fork was in the main trunk.

        If you know any devs that would be willing to assist, please let me know.

        Also, the last working version of Gametable should be version 2 rc9 tagged.
        His changes might be tagged as version 3, if we are lucky and if I recall
        correctly. However, I don't know how to redirect the svn settings, even if
        that were the case.

        My apologies if I seem a useless owner. Your suggestions are welcome.

        Nijineko
        On May 15, 2016 11:00 PM, "Jacob Roth" jrothhmc@users.sf.net wrote:

        I got the code from here:

        svn checkout svn://svn.code.sf.net/p/gametableproj/code/trunk
        gametableproj-code


        Status: open
        Group: v2.0
        Created: Mon May 16, 2016 03:58 AM UTC by Jacob Roth
        Last Updated: Mon May 16, 2016 03:58 AM UTC
        Owner: nobody

        Hi all, I was trying to compile VTable from source on Arch Linux (Java
        1.8, 64 bit) and hack on it. I downloaded the source, but when I run ant, I
        got some complaints from the compiler about Java versions. I fixed this by
        changing the "source" and "target" from 1.4 to 8 in the build.xml

        On trying to compile again, I got errors stemming from "package
        com.maziade.tools does not exist". I fixed these by moving the "maziade"
        folder from maztools/com to src/com . Then I can finally get a successful
        compile.

        But when I try to run the jarfile ant produces under gen/, I get this
        output:

        Hello world!java.util.MissingResourceException: Can't find bundle for base name com.gametable.data.resources, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) at java.util.ResourceBundle.getBundle(ResourceBundle.java:773) at com.maziade.props.XProperties$XPropertyInfo.getGroupDisplayName(XProperties.java:199) at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:67) at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:31) at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) at java.util.TimSort.sort(TimSort.java:220) at java.util.Arrays.sort(Arrays.java:1512) at java.util.ArrayList.sort(ArrayList.java:1454) at java.util.Collections.sort(Collections.java:175) at com.maziade.props.XProperties.addProperty(XProperties.java:933) at com.maziade.props.XProperties.addTextProperty(XProperties.java:817) at com.gametable.data.GameTableCore.initializeProperties(GameTableCore.java:1940) at com.gametable.data.GameTableCore.loadProperties(GameTableCore.java:1958) at com.gametable.GametableApp.main(GametableApp.java:127)

        Any idea what's broken here?

        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/gametableproj/bugs/16/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         
        • nijineko

          nijineko - 2016-05-16

          Yes, please! That is one of the top five requests we get, and I've been
          trying for ages to find a dev to work that in.

          I'm glad my recollection was useful!

          Thank you,

          Nijineko
          On May 16, 2016 11:23 AM, "nijineko" nijineko@users.sf.net wrote:

          I see. I will have to apologize to you as I have no idea if that location
          is the working rc9 version or not. I've never used the svn to pull the code
          for compiling.

          You see, I am the owner by default, the last community member standing who
          inherited the project, not a dev myself. The last active dev started making
          some changes, life got busy, and left the code partially unfinished. I
          don't know which fork he left set as the main trunk. From the sound of your
          experience in guessing his working fork was in the main trunk.

          If you know any devs that would be willing to assist, please let me know.

          Also, the last working version of Gametable should be version 2 rc9 tagged.
          His changes might be tagged as version 3, if we are lucky and if I recall
          correctly. However, I don't know how to redirect the svn settings, even if
          that were the case.

          My apologies if I seem a useless owner. Your suggestions are welcome.

          Nijineko
          On May 15, 2016 11:00 PM, "Jacob Roth" jrothhmc@users.sf.net wrote:

          I got the code from here:

          svn checkout svn://svn.code.sf.net/p/gametableproj/code/trunk
          gametableproj-code


          Status: open
          Group: v2.0
          Created: Mon May 16, 2016 03:58 AM UTC by Jacob Roth
          Last Updated: Mon May 16, 2016 03:58 AM UTC
          Owner: nobody

          Hi all, I was trying to compile VTable from source on Arch Linux (Java
          1.8, 64 bit) and hack on it. I downloaded the source, but when I run ant, I
          got some complaints from the compiler about Java versions. I fixed this by
          changing the "source" and "target" from 1.4 to 8 in the build.xml

          On trying to compile again, I got errors stemming from "package
          com.maziade.tools does not exist". I fixed these by moving the "maziade"
          folder from maztools/com to src/com . Then I can finally get a successful
          compile.

          But when I try to run the jarfile ant produces under gen/, I get this
          output:

          Hello world!java.util.MissingResourceException: Can't find bundle for base
          name com.gametable.data.resources, locale en_US at
          java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
          at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) at
          java.util.ResourceBundle.getBundle(ResourceBundle.java:773) at
          com.maziade.props.XProperties$XPropertyInfo.getGroupDisplayName(XProperties.java:199)
          at
          com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:67)
          at
          com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:31)
          at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) at
          java.util.TimSort.sort(TimSort.java:220) at
          java.util.Arrays.sort(Arrays.java:1512) at
          java.util.ArrayList.sort(ArrayList.java:1454) at
          java.util.Collections.sort(Collections.java:175) at
          com.maziade.props.XProperties.addProperty(XProperties.java:933) at
          com.maziade.props.XProperties.addTextProperty(XProperties.java:817) at
          com.gametable.data.GameTableCore.initializeProperties(GameTableCore.java:1940)
          at com.gametable.data.GameTableCore.loadProperties(GameTableCore.java:1958)
          at com.gametable.GametableApp.main(GametableApp.java:127)
          Any idea what's broken here?

          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/gametableproj/bugs/16/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/


          Status: open
          Group: v2.0
          Created: Mon May 16, 2016 03:58 AM UTC by Jacob Roth
          Last Updated: Mon May 16, 2016 03:58 AM UTC
          Owner: nobody

          Hi all, I was trying to compile VTable from source on Arch Linux (Java
          1.8, 64 bit) and hack on it. I downloaded the source, but when I run ant, I
          got some complaints from the compiler about Java versions. I fixed this by
          changing the "source" and "target" from 1.4 to 8 in the build.xml

          On trying to compile again, I got errors stemming from "package
          com.maziade.tools does not exist". I fixed these by moving the "maziade"
          folder from maztools/com to src/com . Then I can finally get a successful
          compile.

          But when I try to run the jarfile ant produces under gen/, I get this
          output:

          Hello world!java.util.MissingResourceException: Can't find bundle for base name com.gametable.data.resources, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387) at java.util.ResourceBundle.getBundle(ResourceBundle.java:773) at com.maziade.props.XProperties$XPropertyInfo.getGroupDisplayName(XProperties.java:199) at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:67) at com.maziade.props.PropertyNameComparator.compare(PropertyNameComparator.java:31) at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) at java.util.TimSort.sort(TimSort.java:220) at java.util.Arrays.sort(Arrays.java:1512) at java.util.ArrayList.sort(ArrayList.java:1454) at java.util.Collections.sort(Collections.java:175) at com.maziade.props.XProperties.addProperty(XProperties.java:933) at com.maziade.props.XProperties.addTextProperty(XProperties.java:817) at com.gametable.data.GameTableCore.initializeProperties(GameTableCore.java:1940) at com.gametable.data.GameTableCore.loadProperties(GameTableCore.java:1958) at com.gametable.GametableApp.main(GametableApp.java:127)

          Any idea what's broken here?

          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/gametableproj/bugs/16/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           

Log in to post a comment.