Page 1 of 1

I am stuck at Compile the files

Posted: Thu Oct 26, 2017 8:11 pm
by Geemo
Hello to everyone,

So I am trying to build my own in ubuntu to do some testing but I am stuck at
https://bitbucket.org/l2jserver/l2j_server/wiki/Home

"Compile files"
To compile the server files go to l2j\l2j_datapack and run gradle wrapper.

I tried typing:
"$ gradlew build"
inside l2j_datapack and l2j_server folders
but I get this error:
No comand 'gradle' found , did you mean:
Command 'gradle' from pacage 'gradle' (universe)
gradlew: comand not found

Re: I am stuck at Compile the files

Posted: Mon Oct 30, 2017 10:48 pm
by Geemo
Hi all,

So well, I am stuck at the same spot and I can't seem to find my way out. If any good soul would give me a hand it will be appreciated.

gero@4790k:/l2/l2j_datapack$ sudo ./gradlew build
[sudo] password for gero:
Build in build/distributions/L2J_DataPack_2017-10-30.zip

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Project : declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :L2J_Server.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 0.444 secs

gero@4790k:/l2/l2j_datapack$ sudo ./gradlew build --stacktrace
Build in build/distributions/L2J_DataPack_2017-10-30.zip

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compileClasspath'.
> Project : declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :L2J_Server.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':compileClasspath'.
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.wrapException(ErrorHandlingConfigurationResolver.java:97)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveBuildDependencies(ErrorHandlingConfigurationResolver.java:58)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationTaskDependency.visitDependencies(DefaultConfiguration.java:1089)
at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext$TaskGraphImpl.getNodeValues(CachingTaskDependencyResolveContext.java:88)
at org.gradle.internal.graph.CachingDirectedGraphWalker$GraphWithEmpyEdges.getNodeValues(CachingDirectedGraphWalker.java:202)
at org.gradle.internal.graph.CachingDirectedGraphWalker.doSearch(CachingDirectedGraphWalker.java:112)
at org.gradle.internal.graph.CachingDirectedGraphWalker.findValues(CachingDirectedGraphWalker.java:64)
at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.doResolve(CachingTaskDependencyResolveContext.java:76)
at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.resolve(CachingTaskDependencyResolveContext.java:65)
at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:55)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.addToTaskGraph(DefaultTaskExecutionPlan.java:139)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.addTasks(DefaultTaskGraphExecuter.java:101)
at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:47)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
at org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:44)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
at org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:47)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
at org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:36)
at org.gradle.initialization.DefaultGradleLauncher$CalculateTaskGraphAction.execute(DefaultGradleLauncher.java:220)
at org.gradle.initialization.DefaultGradleLauncher$CalculateTaskGraphAction.execute(DefaultGradleLauncher.java:217)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:95)
at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:66)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:49)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:31)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
Caused by: org.gradle.internal.component.model.ConfigurationNotFoundException: Project : declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :L2J_Server.
at org.gradle.internal.component.model.LocalComponentDependencyMetadata.selectConfigurations(LocalComponentDependencyMetadata.java:124)
at org.gradle.internal.component.local.model.DslOriginDependencyMetadataWrapper.selectConfigurations(DslOriginDependencyMetadataWrapper.java:65)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:303)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:270)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:167)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:104)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver.resolve(DefaultArtifactDependencyResolver.java:92)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:45)
at org.gradle.internal.Factories$1.create(Factories.java:25)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:189)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:175)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:134)
at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.useCache(DefaultCacheFactory.java:199)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:65)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:43)
at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationResolver.resolveBuildDependencies(DefaultConfigurationResolver.java:108)
at org.gradle.api.internal.artifacts.ivyservice.ShortCircuitEmptyConfigurationResolver.resolveBuildDependencies(ShortCircuitEmptyConfigurationResolver.java:65)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingConfigurationResolver.resolveBuildDependencies(ErrorHandlingConfigurationResolver.java:56)
... 64 more


BUILD FAILED

Total time: 0.486 secs


pls help !

Re: I am stuck at Compile the files

Posted: Tue Oct 31, 2017 1:37 pm
by Geemo
well looks like it was the directory name.
I changed the name from l2j_server to L2J_Server but now I get another type of error.

gero@4790k:/l2j/l2j_datapack$ sudo ./gradlew build --stacktrace
Build in build/distributions/L2J_DataPack_2017-10-31.zip
Build in build/distributions/L2J_Server_2017-10-31.zip
:L2J_Server:compileJava
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:519: error: unmappable character for encoding ASCII
* Message: Your title cannot exceed 16 characters in length.?? Please try again.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:519: error: unmappable character for encoding ASCII
* Message: Your title cannot exceed 16 characters in length.?? Please try again.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:603: error: unmappable character for encoding ASCII
* Message: 2004-2011 ?? NC Interactive, Inc. All Rights Reserved.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:603: error: unmappable character for encoding ASCII
* Message: 2004-2011 ?? NC Interactive, Inc. All Rights Reserved.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:699: error: unmappable character for encoding ASCII
* Message: $s1???s effect can be felt.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:699: error: unmappable character for encoding ASCII
* Message: $s1???s effect can be felt.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:699: error: unmappable character for encoding ASCII
* Message: $s1???s effect can be felt.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:3135: error: unmappable character for encoding ASCII
* Message: Summoning your pet???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:3135: error: unmappable character for encoding ASCII
* Message: Summoning your pet???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:3135: error: unmappable character for encoding ASCII
* Message: Summoning your pet???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6237: error: unmappable character for encoding ASCII
* Message: ??The target is currently banned from chatting.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6237: error: unmappable character for encoding ASCII
* Message: ??The target is currently banned from chatting.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6255: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type A? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6255: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type A? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6255: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type A? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6333: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type B? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6333: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type B? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6333: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type B? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6339: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type C? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6339: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type C? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6339: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type C? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6345: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type D? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6345: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type D? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6345: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type D? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6351: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type E? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6351: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type E? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6351: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type E? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6357: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type F? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6357: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type F? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6357: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type F? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6363: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type G? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6363: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type G? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:6363: error: unmappable character for encoding ASCII
* Message: Do you wish to use the hair style change potion ??? Type G? It is permanent.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9413: error: unmappable character for encoding ASCII
* Message: War has already been declared against that clan??? but I'll make note that you really don't like them.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9413: error: unmappable character for encoding ASCII
* Message: War has already been declared against that clan??? but I'll make note that you really don't like them.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9413: error: unmappable character for encoding ASCII
* Message: War has already been declared against that clan??? but I'll make note that you really don't like them.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9497: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9497: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9497: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9527: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9527: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:9527: error: unmappable character for encoding ASCII
* Message: Make haste! We will be departing for Gludin Harbor shortly???
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11947: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to drop items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11947: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to drop items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11947: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to drop items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11953: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to trade items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11953: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to trade items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11953: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to trade items and/or Adena. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11965: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to setup private stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11965: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to setup private stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11965: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to setup private stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11983: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to set up private manufacturing stores. To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11989: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed to use private manufacturing stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:11995: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials.??Trial accounts aren???t allowed buy items from private stores.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
/l2j/L2J_Server/src/main/java/com/l2jserver/gameserver/network/SystemMessageId.java:12001: error: unmappable character for encoding ASCII
* Message: Some Lineage II features have been limited for free trials. Trial accounts aren???t allowed to access clan warehouses.??To unlock all of the features of Lineage II, purchase the full version today.
^
:L2J_Server:processResources NO-SOURCE
:L2J_Server:classes
:L2J_Server:jar
:compileJava NO-SOURCE
:processResources NO-SOURCE
:classes UP-TO-DATE
:jar
:assemble
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:test NO-SOURCE
:check UP-TO-DATE
:build
:zip
:L2J_Server:configuratorJar
:L2J_Server:dbInstGsJar
:L2J_Server:dbInstLsJar
:L2J_Server:distTar NO-SOURCE
:L2J_Server:distZip NO-SOURCE
:L2J_Server:loginJar
:L2J_Server:assemble
:L2J_Server:compileTestJava
:L2J_Server:processTestResources NO-SOURCE
:L2J_Server:testClasses
:L2J_Server:test
:L2J_Server:check
:L2J_Server:build
:L2J_Server:zip

BUILD SUCCESSFUL

Total time: 17.072 secs

Re: I am stuck at Compile the files

Posted: Tue Oct 31, 2017 9:48 pm
by Geemo
Hello, so for anyone having the same issue on linux, solution is:

change the name of l2j_server to L2J_Server

and

Adding the following to the L2J_Server build.gradle should address the error:

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

after that just go to l2j_datapack and run ./gradlew build. Everything should be working fine.

Re: I am stuck at Compile the files

Posted: Tue Oct 31, 2017 10:29 pm
by Geemo
ok so now I am stuck with another errror.

Adding the following to the L2J_Server build.gradle should address the error:

gero@4790k:/l2j/l2j_datapack$ sudo ./gradlew build
Build in build/distributions/L2J_DataPack_2017-10-31.zip
Build in build/distributions/L2J_Server_2017-10-31.zip
:L2J_Server:compileJava UP-TO-DATE
:L2J_Server:processResources NO-SOURCE
:L2J_Server:classes UP-TO-DATE
:L2J_Server:jar
:compileJava NO-SOURCE
:processResources NO-SOURCE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:test NO-SOURCE
:check UP-TO-DATE
:build UP-TO-DATE
:zip UP-TO-DATE
:L2J_Server:configuratorJar
:L2J_Server:dbInstGsJar
:L2J_Server:dbInstLsJar
:L2J_Server:distTar NO-SOURCE
:L2J_Server:distZip NO-SOURCE
:L2J_Server:loginJar
:L2J_Server:assemble
:L2J_Server:compileTestJava UP-TO-DATE
:L2J_Server:processTestResources NO-SOURCE
:L2J_Server:testClasses UP-TO-DATE
:L2J_Server:test UP-TO-DATE
:L2J_Server:check UP-TO-DATE
:L2J_Server:build
:L2J_Server:zip

BUILD SUCCESSFUL

Total time: 1.53 secs

Does anyone here knows how to fix this NO-SOURCE thing? I believe this has to do with case sensitive but I am not sure how to fix it.

Re: I am stuck at Compile the files

Posted: Sat Mar 03, 2018 9:59 am
by UnAfraid
That's not an error, check your first two messages it says where the files are.
Build in build/distributions/L2J_DataPack_2017-10-31.zip
Build in build/distributions/L2J_Server_2017-10-31.zip

Doesn't "BUILD SUCCESSFUL" tells you that there is no error? :kappa: