Wankers / aionj-hungary

Automatically exported from code.google.com/p/aionj-hungary
0 stars 0 forks source link

GeoLib Not Found when compiling unter Linux #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Using the/trunk/testTools/Compile.sh to compile the game under Linux. 
2.GeoLibs not found when building the Game Server with Rev
3.

What is the expected output? 
SUCCESSFUL COMPILE
Before I updated this morning to yesterday's updates, everything compiled and 
worked. 

What do you see instead?
Downloading: 
http://aionj-hungary.googlecode.com/svn/repo//aionj-hungary/GeoLib/0.1/GeoLib-0.
1.jar
[INFO] Unable to find resource 'aionj-hungary:GeoLib:jar:0.1' in repository 
central aionj-hungary (http://aionj-hungary.googlecode.com/svn/repo/)
Downloading: 
http://repo1.maven.org/maven2/aionj-hungary/GeoLib/0.1/GeoLib-0.1.jar
[INFO] Unable to find resource 'aionj-hungary:GeoLib:jar:0.1' in repository 
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) aionj-hungary:GeoLib:jar:0.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=aionj-hungary -DartifactId=GeoLib -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=aionj-hungary -DartifactId=GeoLib -Dversion=0.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) aionj-hungary:game:jar:0.1
        2) aionj-hungary:GeoLib:jar:0.1

----------
1 required artifact is missing.

for artifact:
  aionj-hungary:game:jar:0.1

from the specified remote repositories:
  central repo2 (http://download.java.net/maven/2/),
  central repo3 (http://repo2.maven.org/maven2/),
  central (http://repo1.maven.org/maven2),
  central repo1 (http://download.java.net/maven/1/),
  central aionj-hungary (http://aionj-hungary.googlecode.com/svn/repo/)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25 seconds
[INFO] Finished at: Mon Dec 13 00:16:59 SAST 2010
[INFO] Final Memory: 15M/36M
[INFO] ------------------------------------------------------------------------

What version of the product are you using? 
At revision 176.

On what operating system?
Linux - Ubuntu Server 10.04

Please provide any additional information below.
I am not a Java expert and I don't really know Maven, I have just tried to use 
the scripts as they were provided.
I did a clean of the common, game server,Chat Server, and login Server. Then 
build of the Common, chat server, Login Server and then the game server. The 
Game server fails to build now. 

Dir Structure
drwxr-xr-x 11 aion aion 4096 2010-12-09 19:31 .
drwxr-xr-x  9 aion aion 4096 2010-12-11 15:10 ..
drwxr-xr-x  8 aion aion 4096 2010-12-13 00:16 ChatServer
drwxr-xr-x  6 aion aion 4096 2010-12-13 00:15 Commons
drwxr-xr-x  5 aion aion 4096 2010-12-06 00:35 DataPack
drwxr-xr-x  6 aion aion 4096 2010-12-12 16:14 GameServer
drwxr-xr-x  4 aion aion 4096 2010-12-09 19:32 GeoLib        <---- GeoLib is 
here, should this be somewhere else?
drwxr-xr-x  9 aion aion 4096 2010-12-13 00:15 LoginServer
drwxr-xr-x  9 aion aion 4096 2010-12-13 00:13 Parser
drwxr-xr-x  6 aion aion 4096 2010-12-13 00:18 .svn
drwxr-xr-x  4 aion aion 4096 2010-12-11 13:35 TestTools     <---- Compile 
Script is here.

If I try to run:
mvn assembly:assembly -Dmaven.test.skip=true
in the GeoLib folder , it wants to download the game.jar and fails too.

Original issue reported on code.google.com by LeonvanH...@gmail.com on 12 Dec 2010 at 10:37

GoogleCodeExporter commented 8 years ago
Hi all
Fist you need to compile Geolib with "mvn install" command from geolib folder 
and after that you can compile the rest like always

btw i have problems with DP compilation, i think this happend after the r 175 
changes

Original comment by cyn...@gmail.com on 13 Dec 2010 at 4:19

GoogleCodeExporter commented 8 years ago
When I try that I get this following:

----------
1 required artifact is missing.

for artifact:
  aionj-hungary:GeoLib:jar:0.1

from the specified remote repositories:
  central repo2 (http://download.java.net/maven/2/),
  central repo3 (http://repo2.maven.org/maven2/),
  central (http://repo1.maven.org/maven2),
  central repo1 (http://download.java.net/maven/1/),
  central aionj-hungary (http://aionj-hungary.googlecode.com/svn/repo/)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25 seconds
[INFO] Finished at: Mon Dec 13 07:12:16 SAST 2010
[INFO] Final Memory: 14M/34M
[INFO] ------------------------------------------------------------------------

Original comment by LeonvanH...@gmail.com on 13 Dec 2010 at 5:13

GoogleCodeExporter commented 8 years ago
Did you try to make .sh script inside the geolib folder with "mvn 
install"command and run it?

P/D: The problem with DP compilation is with rev 172, no 175, sorry

Original comment by cyn...@gmail.com on 13 Dec 2010 at 6:15

GoogleCodeExporter commented 8 years ago
I tried to create a script same result. I tried to modify the normal compile 
script and just added an Geolib function, same result. 

I have attached the full output. 
Am I missing something?

Original comment by LeonvanH...@gmail.com on 13 Dec 2010 at 8:45

Attachments:

GoogleCodeExporter commented 8 years ago
With R188 everything is now compiling properly. 

Now to get it to run. 
Thank you very much.

By the way if we find problems within the game, like quests that don't work or 
areas that are not accessible, do I report it here too?

Original comment by LeonvanH...@gmail.com on 14 Dec 2010 at 5:37

GoogleCodeExporter commented 8 years ago

Original comment by mr.pok...@gmail.com on 14 Dec 2010 at 7:04