Compilation error.

Project:JNode Core
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Enviroment:

* Windows Vista
* Java 1.6.0_11

Exception:
---------------------------

.
.
.

assemble-plugins:
[plugin] Exception in thread "pool-1-thread-5" file not found C:\jnode\all\bu
ild\descriptors\gnu-crypto.jar because gnu-crypto.jar has no alias
[plugin] at org.jnode.build.AbstractPluginTask.processLibrary(AbstractPlu
ginTask.java:95)
[plugin] at org.jnode.build.PluginTask.buildPlugin(PluginTask.java:184)
[plugin] at org.jnode.build.PluginTask$2.run(PluginTask.java:105)
[plugin] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
PoolExecutor.java:886)
[plugin] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:908)
[plugin] at java.lang.Thread.run(Thread.java:619)

.
.
.

BUILD FAILED
java.lang.RuntimeException: At least one plugin task failed : see above errors
at org.jnode.build.PluginTask.execute(PluginTask.java:123)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

#1

The immediate cause of the build failure is a missing 'libalias' entry in all/build.xml. But the alias in question was removed by Levente a few days ago. So I suspect that the real problem is that you simply need to run "build clean" to get rid of old build artifacts that causing the build to break.

Whenever you get a mysterious build failure, it is always a good idea to run "build clean" and the retry the build before doing anything else. Especially if you this is your first build since an SVN update ...

#2

Status:active» closed

Thanks. "build clean" solved the problem.