|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Siantha
Amarr Barimen Inc.
|
Posted - 2009.12.20 17:46:00 -
[1]
Do you plan to make a release soon? I've noticed you've checked in a fix for an issue I'm having: "Issue 71: Error when a Item is missing from Settings.items" but I'm lacking the tools and knowledge on how to build from source myself.
|

Siantha
Amarr Barimen Inc.
|
Posted - 2009.12.22 17:32:00 -
[2]
Issues building from source.
I'm having several issues when I attempt to build from source. Here's my starting java and maven setup:
Quote: $ mvn --version Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500) Java version: 1.6.0_17 Java home: c:\Program Files\Java\jdk1.6.0_17\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows vista" version: "6.0" arch: "amd64" Family: "windows"
And here's the steps I took:
1) Checkout jeveassets from: http://svn.candle.me.uk/nikr/jeveassets/trunk
2) Attempt compile with "mvn compile"
Fails with this info:
Quote: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building jeveassets [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [INFO] Using encoding: 'UTF-8' to copy filtered resources. Downloading: http://repo1.maven.org/maven2/net/nikr/log/1.0.2/log-1.0.2.pom [INFO] Unable to find resource 'net.nikr:log:pom:1.0.2' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/supercsv/supercsv/1.52/supercsv-1.52.pom [INFO] Unable to find resource 'org.supercsv:supercsv:pom:1.52' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/uk/me/candle/pricing/1.0.3/pricing-1.0.3.pom [INFO] Unable to find resource 'uk.me.candle:pricing:pom:1.0.3' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/supercsv/supercsv/1.52/supercsv-1.52.jar Downloading: http://repo1.maven.org/maven2/net/nikr/log/1.0.2/log-1.0.2.jar Downloading: http://repo1.maven.org/maven2/uk/me/candle/pricing/1.0.3/pricing-1.0.3.jar [INFO] Unable to find resource 'org.supercsv:supercsv:jar:1.52' in repository central (http://repo1.maven.org/maven2) [INFO] Unable to find resource 'net.nikr:log:jar:1.0.2' in repository central (http://repo1.maven.org/maven2) [INFO] Unable to find resource 'uk.me.candle:pricing:jar:1.0.3' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact.
3) Download and install jeveassets-1.2.2-dom1.0.zip -- to get the missing artifacts. Where should they really come from?
4) Install missing artifacts: Quote: cd into jEveAssets\lib mvn install:install-file -DgroupId=com.beimin -DartifactId=eveapi -Dversion=1.0.1-SNAPSHOT -Dpackaging=jar -Dfile=eveapi-1.0.1-SNAPSHOT.jar mvn install:install-file -DgroupId=org.supercsv -DartifactId=supercsv -Dversion=1.52 -Dpackaging=jar -Dfile=supercsv-1.52.jar mvn install:install-file -DgroupId=net.nikr -DartifactId=log -Dversion=1.0.2 -Dpackaging=jar -Dfile=log-1.0.2.jar mvn install:install-file -DgroupId=uk.me.candle -DartifactId=pricing -Dversion=1.0.3 -Dpackaging=jar -Dfile=pricing-1.0.3.jar
... to be continued ...
|

Siantha
Amarr Barimen Inc.
|
Posted - 2009.12.22 17:39:00 -
[3]
Issues with building from source continued
After installing the missing artifacts:
5) Attempt to compile with "mvn compile"
Fails with this info:
Quote: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building jeveassets [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [INFO] Using encoding: 'UTF-8' to copy filtered resources. Downloading: http://repo1.maven.org/maven2/net/nikr/log/1.0.2/log-1.0.2.pom [INFO] Unable to find resource 'net.nikr:log:pom:1.0.2' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/supercsv/supercsv/1.52/supercsv-1.52.pom [INFO] Unable to find resource 'org.supercsv:supercsv:pom:1.52' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/uk/me/candle/pricing/1.0.3/pricing-1.0.3.pom [INFO] Unable to find resource 'uk.me.candle:pricing:pom:1.0.3' in repository central (http://repo1.maven.org/maven2) [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [INFO] Executed tasks [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 92 source files to j:\jeveassets\target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure
j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Program.java:[67,23] package org.apache.log4j does not exist j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Program.java:[68,23] package org.apache.log4j does not exist j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Program.java:[69,23] package org.apache.log4j does not exist j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Main.java:[37,35] package org.apache.commons.beanutils does not exist j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Main.java:[38,34] package org.apache.commons.digester does not exist j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Main.java:[39,38] package org.apache.commons.logging.impl does not exist j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Main.java:[40,23] package org.apache.log4j does not exist
j:\jeveassets\src\main\java\net\nikr\eve\jeveasset\Program.java:[128,2] cannot find symbol symbol : variable BasicConfigurator location: class net.nikr.eve.jeveasset.Program ...
6) Add the following to the dependencies section of pom.xml to account for packages that were not found:
Quote: <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.13</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.7.0</version> </dependency> <dependency> <groupId>commons-digester</groupId> <artifactId>commons-digester</artifactId> <version>1.8</version> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1</version> </dependency>
7) Compile with "mvn compile"
8) Package with "mvn package"
... to be continued ...
|

Siantha
Amarr Barimen Inc.
|
Posted - 2009.12.22 17:46:00 -
[4]
Quote: Issues building from source continued.
After finally after getting the compile and package to work, I attempted to run my shiny new jeveassets\target\jeveassets-1.2.3-SNAPSHOT.jar
but it failed with the following error log:
Quote: (info) Starting jEveAssets 1.2.3 DEV (info) DATA Loading... (info) Settings loaded (info) Items loaded (info) Locations loaded (info) Conquerable stations loaded (info) Assets loaded (info) Market orders updating: (info) Market orders updated for: XXXXX (info) Corporation market orders updated for: YYYYY by ZZZZZ (info) Market orders updated for: ZZZZZ (info) Market orders updated (ALL) (info) Industry jobs updating: (info) Industry jobs updated for: XXXX (info) Corporation industry jobs updated for: YYYY by ZZZZ (info) Industry jobs updated for: ZZZZ (info) Industry jobs updated (ALL) (info) Characters updating: (info) Updating "XXXX": (info) Corporation updated (info) Account balance updated (info) Updating "ZZZZ": (info) Corporation not updated (ALREADY DONE) (info) Corporation account balances updated (info) Account balance updated (info) Characters updated (ALL) (info) Price data loading: (error) Uncaught Exception (sun.awt.exception.handler):Please email the latest error.txt in the logs directory to [email protected] java.lang.NoClassDefFoundError: org/dom4j/DocumentException at uk.me.candle.eve.pricing.PricingFactory.getEveCentral(PricingFactory.java:43) at uk.me.candle.eve.pricing.PricingFactory.getPricing(PricingFactory.java:26) at net.nikr.eve.jeveasset.io.PriceDataGetter.updatePriceData(PriceDataGetter.java:98) at net.nikr.eve.jeveasset.io.PriceDataGetter.<init>(PriceDataGetter.java:65) at net.nikr.eve.jeveasset.data.Settings.<init>(Settings.java:161) at net.nikr.eve.jeveasset.Program.<init>(Program.java:144) at net.nikr.eve.jeveasset.Main.<init>(Main.java:82) at net.nikr.eve.jeveasset.Main.createAndShowGUI(Main.java:123) at net.nikr.eve.jeveasset.Main.access$000(Main.java:44) at net.nikr.eve.jeveasset.Main$1.run(Main.java:95) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.dom4j.DocumentException at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 18 more
Any advice on what I'm doing wrong in my attempts to build jeveassets?
|
|
|
|