Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
Fixed in new Trunk.

Original comment by kahuxtable on 12 Jun 2010 at 1:13

  • Changed state: Fixed

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
I found the source of the problem. It turns out that, when building your 
project with pure maven on console only, it will not compile since you rely on 
JDK dependency. By default maven discourages us from using JDK specific API. 
While your project worked in Eclipse with maven plugin, it does not work 
outside of this environment. However this can be fixed sealy. It's a small 
enhancement to the pom.xml.  Just add 
<compilerArguments>
   <bootclasspath>${java.home}\lib\rt.jar</bootclasspath>
</compilerArguments>
to <configuration> tag in your maven-compiler-plugin.  I have attached a patch.
Then it compiles and creates the jar without any problem.

Original comment by [email protected] on 14 Jun 2010 at 2:51

Attachments:

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
Interesting. Apple has a different structure for their class libraries. It 
works fine from the command line on my Mac. I'll look further into this.

Original comment by kahuxtable on 14 Jun 2010 at 5:32

  • Changed state: Started

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
Okay, I added a profile for mac that specifies its rt (classes.jar) which is in 
a different location and actually not needed. I then specified 
${java.home}/lib/rt.jar for everything else. Why must Windows users use 
backslashes for directories in Java, when it's platform independent and Windows 
is the only system in the world that uses backslashes for directories. (A 
terrible idea.)

Original comment by kahuxtable on 14 Jun 2010 at 6:53

from seaglass.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 31, 2024
This issue was closed by revision r1532.

Original comment by kahuxtable on 14 Jun 2010 at 6:56

  • Changed state: Fixed

from seaglass.

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.