GithubHelp home page GithubHelp logo

Comments (13)

leif81 avatar leif81 commented on May 26, 2024

Hmm what's the error you're seeing?

This is how the dis-enums-1.1.jar is defined as a compile and run time dependency in the pom.xml

<dependency>
     <groupId>edu.nps.moves</groupId>
     <artifactId>dis-enums</artifactId>
     <version>1.1</version>
</dependency>

from open-dis-java.

mcgredonps avatar mcgredonps commented on May 26, 2024

Hmm, it appears to be a netbeans problem—for some reason Netbeans isn’t picking it up,
or the SRM jar.

On Feb 29, 2016, at 9:44 AM, Leif Gruenwoldt <[email protected]mailto:[email protected]> wrote:

Hmm what's the error you're seeing?

This is how the dis-enums-1.1.jar is defined as a compile and run time dependency in the pom.xml

    <dependency>
        <groupId>edu.nps.moves</groupId>
        <artifactId>dis-enums</artifactId>
        <version>1.1</version>
    </dependency>


Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-190306313.

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

Silly question, but is the PC you're running Netbeans on connected to the internet?

Because what's happening is Netbeans is trying to fulfill those dependencies by fetching them from Maven Central auto-magically. (And then it caches them locally in your home dir in ~/.m2/repository)

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

@mcgredonps Any luck?

To open and compile the project this is what I do:

  1. Start Netbeans 8
  2. In Netbeans, File->Open and select the top level open-dis-java folder
    • You may need to first delete your open-dis-java/nbproject folder, it may still contain old Ant Netbeans project settings)
    • Once it's opened, you may notice Netbeans redline some files and lines, in particular import statements for packages that have not been fetched yet. This will be resolved once you do the next step.
  3. In Netbeans, click Build Project
    • The first time you do this step Maven will go out and fetch the missing jar dependencies that are defined in the pom.xml -- this may take a minute depending on your internet connection. Subsequent builds should be very fast because it caches them.

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

@mcgredonps Ever figure this one out?

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

@mcgredonps can we close this one?

from open-dis-java.

mcgredonps avatar mcgredonps commented on May 26, 2024

from open-dis-java.

mcgredonps avatar mcgredonps commented on May 26, 2024

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

Ya good question. It's grabbing the dis-enums-1.1.jar from Maven Central. I had deployed it that there as part of the original 4.08 release way back in 2013. But you're making me realize, dis-enums was one of the pieces I lost track of when we moved from SourceForge. I wonder now if we should include this Java dis-enums source code in open-dis-java.

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

Btw here's the link to it in Maven Central:

http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22edu.nps.moves%22

from open-dis-java.

mcgredonps avatar mcgredonps commented on May 26, 2024

from open-dis-java.

leif81 avatar leif81 commented on May 26, 2024

I currently don't use the dis-enums in my projects, but I really should. More readable code is a good thing.

Ya I think a string version of the enum would be handy.

from open-dis-java.

mcgredonps avatar mcgredonps commented on May 26, 2024

from open-dis-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.