Pages: 1 ... 5 6 [7] 8 9 ... 11
Author Topic: ASM based map locator platform  (Read 142164 times)
quattroGmbH
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 39


« Reply #90 on: January 03, 2018, 09:05:20 AM »

After a lot of faffing around with trying to add overrides to the project.java file I found that the they way java overrides the abstract method is different in java 6 to 7. Since Maven 3 wont run with an older version of java, I reverted back to the original java 6 and maven 2.2.1.

There was another compile error due to the maplocator-me7plugin module being listed in the parent POM but doesnt have a supporting child POM. Since Im no programmer and not writing POMs removing reference to the maplocator-me7plugin module let me compile the project.

PRJ, If you are still active on nef, how do I utilize the mapsearch function? I dont see the jar listed in the maplocator-release lib and adding the SNAPSHOT version from mapsearch\target to the release lib does not change the search results. Id really like to just auto scan a couple binaries.

Thanks prj!
« Last Edit: January 03, 2018, 03:18:05 PM by quattroGmbH » Logged
clubman
Full Member
***

Karma: +2/-0
Offline Offline

Posts: 72


« Reply #91 on: January 03, 2018, 09:34:27 AM »

I tried the tool today but I get:
Quote
Exception in thread 'main' java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot cast to java.base/java.net.URLClassLoader
at com.prj.tuning.maplocator.ui.Loader.main(Loader.java:15)
at com.prj.tuning.maplocator.ui.CrossPlatformRunner.main(CrossPlatformRunner.java:31)

Anyone knows how to fix it?
Logged
quattroGmbH
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 39


« Reply #92 on: January 03, 2018, 03:00:32 PM »

Looks like a java error. What’s your platform, java version?
« Last Edit: January 03, 2018, 03:19:15 PM by quattroGmbH » Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #93 on: January 03, 2018, 03:46:45 PM »

Working on it now. Fixed maven issues and missing pom, now looking at compile error

https://github.com/nyetwurk/me7-tools
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #94 on: January 03, 2018, 04:12:04 PM »

My fork should compile now.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
quattroGmbH
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 39


« Reply #95 on: January 03, 2018, 06:06:59 PM »

Awesome Nye! It seems like compiling this project should incorporate the auto generate mapsearch function from this thread? http://nefariousmotorsports.com/forum/index.php?topic=2723.0

I’m mostly trying to get the mapsearch function to auto scan. I was thinking this project needed to compile it all together. It also looks like the export to kp function is greyed out after analyzing a bin. With all the different xmls I can’t get about 10 maps and axis. Better than nothing but not quite up to the m and k auto xdfs.
Logged
clubman
Full Member
***

Karma: +2/-0
Offline Offline

Posts: 72


« Reply #96 on: January 04, 2018, 02:32:35 AM »

Hello,

Thank you for your fast reply. Unfortunately I am not a Java expert and have tried to fork it with maven and I get the cannot find javac error. I have set the JAVA_HOME environment variable but still it points to JRE instead of JDK and cannot compile. Can you please update the 1st post with a release that is now able to run?

Thank you!
Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #97 on: January 04, 2018, 11:50:19 AM »

Hello,

Thank you for your fast reply. Unfortunately I am not a Java expert and have tried to fork it with maven and I get the cannot find javac error. I have set the JAVA_HOME environment variable but still it points to JRE instead of JDK and cannot compile. Can you please update the 1st post with a release that is now able to run?

Thank you!

check PATH
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
quattroGmbH
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 39


« Reply #98 on: January 04, 2018, 11:58:38 AM »

Hello,

Thank you for your fast reply. Unfortunately I am not a Java expert and have tried to fork it with maven and I get the cannot find javac error. I have set the JAVA_HOME environment variable but still it points to JRE instead of JDK and cannot compile. Can you please update the 1st post with a release that is now able to run?

Thank you!

https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/
Logged
quattroGmbH
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 39


« Reply #99 on: January 04, 2018, 12:00:35 PM »

After the updates I went back to maven 3.5.2 and JDK 9. I’m still getting a complie error. At work now so I’ll update with the new error tonight.
Logged
clubman
Full Member
***

Karma: +2/-0
Offline Offline

Posts: 72


« Reply #100 on: January 04, 2018, 03:27:00 PM »


Yeap that's what I 've done.. Also using JDK9..
Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #101 on: January 04, 2018, 03:32:36 PM »

Using jdk9 and mvn 3.5

no issues

$ mvn --version
Apache Maven 3.5.0
Maven home: /usr/share/maven
Java version: 9.0.1, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-9-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.14.0-2-amd64", arch: "amd64", family: "unix"
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
clubman
Full Member
***

Karma: +2/-0
Offline Offline

Posts: 72


« Reply #102 on: January 04, 2018, 04:24:59 PM »

OK now I tried it on my other laptop and I get other error:

It says BUILD FAILURE on maplocator-ui because it cannot find org.apache.maven.plugins:maven-jar-plugin:jar:3.7.0 in https://repo.maven.apache.org/maven2 and something about updates..
Logged
quattroGmbH
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 39


« Reply #103 on: January 04, 2018, 07:48:17 PM »

OK now I tried it on my other laptop and I get other error:

It says BUILD FAILURE on maplocator-ui because it cannot find org.apache.maven.plugins:maven-jar-plugin:jar:3.7.0 in https://repo.maven.apache.org/maven2 and something about updates..

Looks like we need the Linux upgrade Smiley

I get the same error
[INFO] Building maplocator-ui 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.7.0/maven-jar-plugin-3.7.0.pom
[WARNING] The POM for org.apache.maven.plugins:maven-jar-plugin:jar:3.7.0 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.7.0/maven-jar-plugin-3.7.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] me7-tools .......................................... SUCCESS [  0.000 s]
[INFO] ols-parser ......................................... SUCCESS [ 26.583 s]
[INFO] xdf-generator ...................................... SUCCESS [  2.559 s]
[INFO] mapsearch .......................................... SUCCESS [ 16.660 s]
[INFO] maplocator-ui ...................................... FAILURE [  0.156 s]
[INFO] maplocator-xmlplugin ............................... SKIPPED
[INFO] maplocator-me7plugin ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.286 s
[INFO] Finished at: 2018-01-04T18:45:21-08:00
[INFO] Final Memory: 19M/65M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:3.7.0 or one of its dependencies could not be resolved: Could not find artifact org.apache.maven.plugins:maven-jar-plugin:jar:3.7.0 in central (https://repo.maven.apache.org/maven2) -> [Help 1]


$ mvn -version
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T00:58:13-07:00)
Maven home: C:\Program Files\Apache\maven\apache-maven-3.5.2
Java version: 9.0.1, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk-9.0.1
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Logged
quattroGmbH
Jr. Member
**

Karma: +1/-0
Offline Offline

Posts: 39


« Reply #104 on: January 04, 2018, 07:54:39 PM »

Yeap that's what I 've done.. Also using JDK9..

Did you set Java and Maven system variables too?
Logged
Pages: 1 ... 5 6 [7] 8 9 ... 11
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.053 seconds with 16 queries. (Pretty URLs adds 0.001s, 0q)