Jump to content
  • 0

[Error]Compiling L2JFree


Question

Posted

Well... i try to compile a L2JFree pack and i get this error :

 

[iNFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[iNFO] ------------------------------------------------------------------------
[iNFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.3.0-SNAPSHOT
[iNFO]    task-segment: [assembly:assembly] (aggregator-style)
[iNFO] ------------------------------------------------------------------------
[iNFO] Preparing assembly:assembly
[iNFO] ------------------------------------------------------------------------
[iNFO] Building Unnamed - l2jfree:l2jfree-core:jar:1.3.0-SNAPSHOT
[iNFO] ------------------------------------------------------------------------
[iNFO] [buildnumber:create {execution: default}]
[iNFO] Checking for local modifications: skipped.
[iNFO] Updating project files from SCM: skipped.
[iNFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[iNFO] Working directory: C:\l2jfree\l2jfree-core
Provider message:
The svn command failed.
Command output:
'svn' is not recognized as an internal or external command,
operable program or batch file.

[iNFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[iNFO] ------------------------------------------------------------------------
[iNFO] Cannot get the revision information from the scm repository :
Error!

[iNFO] ------------------------------------------------------------------------
[iNFO] For more information, run Maven with the -e switch
[iNFO] ------------------------------------------------------------------------
[iNFO] Total time: 2 seconds
[iNFO] Finished at: Sat Nov 07 12:09:46 EET 2009
[iNFO] Final Memory: 11M/19M
[iNFO] ------------------------------------------------------------------------

 

Can anyone help me ?

6 answers to this question

Recommended Posts

  • 0
Posted

www.l2jfree.com

 

Use the Search button on their Forum ,that question has been answered about 50 times.

You need to install a subversion client (I used CollabNet).

 

If after reading the answer you still have problems, post here again and I'll help you.

  • 0
Posted

www.l2jfree.com

 

Use the Search button on their Forum ,that question has been answered about 50 times.

You need to install a subversion client (I used CollabNet).

 

If after reading the answer you still have problems, post here again and I'll help you.

 

Thanks a lot man ! I download CollabNet Subversion Server and i try to compile the gameserver and its works ! Thanks again !

 

EDIT :

 

I try to compile the IL gameserver and i get this error :

 

[ERROR] BUILD ERROR
[iNFO] ------------------------------------------------------------------------
[iNFO] Cannot get the revision information from the scm repository :
svn: This client is too old to work with working copy 'C:\workspace\L2Jfree IL';
please get a newer Subversion client

 

.I have the latest Subversion client... rofl

  • 0
Posted

I use checkout the IL ..... the datapack is ok, the gameserver isn't...

 

thats why i said you need to change the pom.xml

 

Index: l2jfree-core/pom.xml
===================================================================
--- l2jfree-core/pom.xml	(revision 4757)
+++ l2jfree-core/pom.xml	(working copy)
@@ -233,8 +233,7 @@
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>buildnumber-maven-plugin</artifactId>
-        <version>1.0-beta-1</version>
+        <artifactId>maven-buildnumber-plugin</artifactId>
        <executions>
          <execution>
            <phase>validate</phase>

 

try this

  • 0
Posted

I Apply the Patch and i get the error again.... i think eclipse says that on pom.xml those lines are not exist...

Here is my pom.xml

  <?xml version="1.0" encoding="UTF-8" ?> 
- <project>
  <modelVersion>4.0.0</modelVersion> 
  <groupId>l2jfree</groupId> 
  <artifactId>l2j-gameserver</artifactId> 
  <version>1.0.0</version> 
  <packaging>jar</packaging> 
  <url>http://www.l2jfree.com</url> 
- <scm>
  <connection>scm:svn:svn://www.l2jfree.com/repo/l2j-free/trunk/L2_GameServer_IL</connection> 
  <developerConnection>scm:svn:svn://www.l2jfree.com/repo/l2j-free/trunk/L2_GameServer_IL</developerConnection> 
  <url>http://l2jfree.com:8080/l2j-free/browser/trunk/L2_GameServer_IL</url> 
  </scm>
- <pluginRepositories>
- <pluginRepository>
  <id>Maven Snapshots</id> 
  <url>http://snapshots.maven.codehaus.org/maven2/</url> 
- <snapshots>
  <enabled>true</enabled> 
  </snapshots>
- <releases>
  <enabled>false</enabled> 
  </releases>
  </pluginRepository>
- <pluginRepository>
  <id>central l2j</id> 
  <name>Mirror Central L2j</name> 
  <url>http://www.l2jfree.com/maven/</url> 
- <releases>
  <enabled>true</enabled> 
  </releases>
- <snapshots>
  <enabled>true</enabled> 
  </snapshots>
  </pluginRepository>
  </pluginRepositories>
- <repositories>
- <repository>
  <id>central l2j</id> 
  <name>Central L2j</name> 
  <url>http://www.l2jfree.com/maven/</url> 
- <releases>
  <enabled>true</enabled> 
  </releases>
- <snapshots>
  <enabled>true</enabled> 
  </snapshots>
  </repository>
- <repository>
  <id>maven 2 (default)</id> 
  <url>http://repo1.maven.org/maven2</url> 
- <snapshots>
  <enabled>true</enabled> 
  </snapshots>
- <releases>
  <enabled>true</enabled> 
  </releases>
  </repository>
- <repository>
  <id>Maven Snapshots</id> 
  <url>http://snapshots.maven.codehaus.org/maven2/</url> 
- <snapshots>
  <enabled>true</enabled> 
  </snapshots>
- <releases>
  <enabled>true</enabled> 
  </releases>
  </repository>
- <repository>
  <id>apache.snapshots</id> 
  <name>Apache Snapshot Repository</name> 
  <url>http://people.apache.org/repo/m2-snapshot-repository</url> 
- <snapshots>
  <enabled>true</enabled> 
  </snapshots>
- <releases>
  <enabled>true</enabled> 
  </releases>
  </repository>
- <repository>
  <id>mevenide repo</id> 
  <url>http://mevenide.codehaus.org/repository</url> 
  </repository>
- <repository>
  <id>ibiblio maven2</id> 
  <url>http://www.ibiblio.org/maven2/</url> 
  </repository>
  </repositories>
- <dependencies>
- <dependency>
  <groupId>l2jfree</groupId> 
  <artifactId>l2j-commons</artifactId> 
  <version>1.0.8</version> 
  </dependency>
- <dependency>
  <groupId>l2jfree</groupId> 
  <artifactId>l2j-mmocore</artifactId> 
  <version>1.0.4</version> 
  </dependency>
- <dependency>
  <groupId>l2jfree</groupId> 
  <artifactId>l2j-test-tools</artifactId> 
  <version>1.0.2</version> 
  <scope>test</scope> 
  </dependency>
- <!--  override version of log4j 
  --> 
- <dependency>
  <groupId>log4j</groupId> 
  <artifactId>log4j</artifactId> 
  <version>1.2.14</version> 
  </dependency>
- <dependency>
  <groupId>org.apache.bsf</groupId> 
  <artifactId>bsf</artifactId> 
  <version>2.0</version> 
  </dependency>
- <dependency>
  <groupId>bsh</groupId> 
  <artifactId>bsh</artifactId> 
  <version>2.0</version> 
  </dependency>
- <dependency>
  <groupId>jython</groupId> 
  <artifactId>jython</artifactId> 
  <version>2.2.1</version> 
  </dependency>
- <dependency>
  <groupId>javax.management</groupId> 
  <artifactId>jmxremote</artifactId> 
  <version>1.0.1_03-b57</version> 
  </dependency>
- <dependency>
  <groupId>javax.management</groupId> 
  <artifactId>jmxremote_optional</artifactId> 
  <version>1.0.1_03-b57</version> 
  </dependency>
- <dependency>
  <groupId>javax.management</groupId> 
  <artifactId>jmxri</artifactId> 
  <version>1.2.1-b14</version> 
  </dependency>
- <dependency>
  <groupId>jmxri</groupId> 
  <artifactId>jmxtools</artifactId> 
  <version>1.2.8</version> 
  </dependency>
- <dependency>
  <groupId>org.schwering</groupId> 
  <artifactId>irclib</artifactId> 
  <version>1.10</version> 
  </dependency>
  </dependencies>
- <issueManagement>
  <system>Trac</system> 
  <url>http://www.l2jfree.com:8080/trac/l2j-free/timeline</url> 
  </issueManagement>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-assembly-plugin</artifactId> 
  <version>2.1</version> 
  </plugin>
  </plugins>
  </pluginManagement>
  <defaultGoal>assembly:assembly</defaultGoal> 
  <finalName>${artifactId}</finalName> 
- <resources>
- <resource>
  <directory>src/main/resources</directory> 
  </resource>
  </resources>
- <testResources>
- <testResource>
  <directory>config/</directory> 
  </testResource>
- <testResource>
  <directory>src/test/resources</directory> 
  </testResource>
  </testResources>
- <plugins>
- <plugin>
  <groupId>org.codehaus.mojo</groupId> 
  <artifactId>maven-buildnumber-plugin</artifactId> 
  <version>0.9.5</version> 
- <executions>
- <execution>
  <phase>validate</phase> 
- <goals>
  <goal>create</goal> 
  </goals>
  </execution>
  </executions>
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-jar-plugin</artifactId> 
- <configuration>
- <archive>
- <manifest>
  <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 
  </manifest>
- <manifestEntries>
  <Implementation-Build>${buildNumber}</Implementation-Build> 
  </manifestEntries>
  </archive>
  </configuration>
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-surefire-plugin</artifactId> 
- <configuration>
  <forkMode>pertest</forkMode> 
  <argLine>-enableassertions</argLine> 
  </configuration>
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-compiler-plugin</artifactId> 
- <configuration>
  <source>1.5</source> 
  <target>1.5</target> 
  </configuration>
  </plugin>
- <plugin>
  <artifactId>maven-assembly-plugin</artifactId> 
- <configuration>
- <descriptors>
  <descriptor>src/main/assembly/distribution.xml</descriptor> 
  </descriptors>
  </configuration>
  </plugin>
  </plugins>
  </build>
  </project>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...