Skip to content

Instantly share code, notes, and snippets.

@pqcfox
Created November 4, 2019 01:34
Show Gist options
  • Save pqcfox/3f5c5e4e087fd8ca202e44409e6e6d3f to your computer and use it in GitHub Desktop.
Save pqcfox/3f5c5e4e087fd8ca202e44409e6e6d3f to your computer and use it in GitHub Desktop.
Ant failure when building openrockoon
build:
[echo] Compiling main classes
[javac] Compiling 25 source files to /Users/watsonc/openrockoon/swing/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] /Users/watsonc/openrockoon/swing/src/net/sf/openrocket/startup/HeadlessRockoonDataGen.java:114: error: method runSimulation in class HeadlessRockoon cannot be applied to given types;
[javac] new HeadlessRockoon().runSimulation(document, sim);
[javac] ^
[javac] required: OpenRocketDocument,Simulation,double,double,double,double
[javac] found: OpenRocketDocument,Simulation
[javac] reason: actual and formal argument lists differ in length
[javac] /Users/watsonc/openrockoon/swing/src/net/sf/openrocket/startup/HeadlessRockoonDataGen.java:128: error: no suitable method found for runSimulation(OpenRocketDocument,Simulation,double,double,double,double,double,double,double)
[javac] new HeadlessRockoon().runSimulation(document, sim, spinRate, launchAltitude, launchLatitude, launchLongitude,rodAngle,launchRodLength,windSpeed);
[javac] ^
[javac] method HeadlessRockoon.runSimulation(OpenRocketDocument,Simulation) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] method HeadlessRockoon.runSimulation(OpenRocketDocument,Simulation,double,double,double,double) is not applicable
[javac] (actual and formal argument lists differ in length)
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
[javac] 1 warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment