Hi all,

When invoking <buildPlugin> ant4eclipse throws warning and eventually error.
Here's the complete logs:

...
build.source:
     [echo] Building source plugin : com.farbeyond.core
[buildPlugin] source:
/home/setya/Projects/Farbeyond/JProjects+RAP/com.farbeyond.core/src
[buildPlugin] WARN - No java runtime could be found for eclipse project
'com.farbeyond.core'. Possible reasons are: either there is no JRE_CONTAINER
specified on the classpath or there is no JavaRuntime registered for the
specified JRE_CONTAINER. Trying to use JRE from java.home
[buildPlugin] WARN - Using JRE from java.home
(/home/setya/Download/JDK/jdk1.6.0_07/jre)
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/ExplorerTreeRepositoryImpl.java#9: The
method getChildCount() of type ExplorerTreeRepositoryImpl must override a
superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/ExplorerTreeRepositoryImpl.java#15: The
method getChildren() of type ExplorerTreeRepositoryImpl must override a
superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/ExplorerTreeRepositoryImpl.java#21: The
method getChildren(String) of type ExplorerTreeRepositoryImpl must override
a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/UIDefinitionRepositoryImpl.java#9: The
method getMetaUI(String) of type UIDefinitionRepositoryImpl must override a
superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/BusinessEntityRepositoryImpl.java#9:
The method find(String, Map<String,Object>) of type
BusinessEntityRepositoryImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/BusinessEntityRepositoryImpl.java#15:
The method save(String, Map<String,Object>) of type
BusinessEntityRepositoryImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/BusinessEntityRepositoryImpl.java#21:
The method delete(String, Map<String,Object>) of type
BusinessEntityRepositoryImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/BusinessEntityRepositoryImpl.java#26:
The method refresh(String, Map<String,Object>) of type
BusinessEntityRepositoryImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/BusinessEntityRepositoryImpl.java#32:
The method getRecordCount(String, Map<String,Object>) of type
BusinessEntityRepositoryImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/repositories/impl/BusinessEntityRepositoryImpl.java#38:
The method getRecords(String, Map<String,Object>, long, int) of type
BusinessEntityRepositoryImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/UIDefinitionServiceImpl.java#13: The method
getMetaUI(String) of type UIDefinitionServiceImpl must override a superclass
method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/BusinessEntityServiceImpl.java#13: The
method find(String, Map<String,Object>) of type BusinessEntityServiceImpl
must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/BusinessEntityServiceImpl.java#19: The
method save(String, Map<String,Object>) of type BusinessEntityServiceImpl
must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/BusinessEntityServiceImpl.java#25: The
method delete(String, Map<String,Object>) of type BusinessEntityServiceImpl
must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/BusinessEntityServiceImpl.java#31: The
method refresh(String, Map<String,Object>) of type BusinessEntityServiceImpl
must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/BusinessEntityServiceImpl.java#37: The
method getRecordCount(String, Map<String,Object>) of type
BusinessEntityServiceImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/BusinessEntityServiceImpl.java#43: The
method getRecords(String, Map<String,Object>, long, int) of type
BusinessEntityServiceImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/ExplorerTreeServiceImpl.java#13: The method
getChildCount() of type ExplorerTreeServiceImpl must override a superclass
method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/ExplorerTreeServiceImpl.java#19: The method
getChildren() of type ExplorerTreeServiceImpl must override a superclass
method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/ExplorerTreeServiceImpl.java#25: The method
getChildren(String) of type ExplorerTreeServiceImpl must override a
superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/services/impl/ServiceFactoryImpl.java#17: The method
createService() of type ServiceFactoryImpl must override a superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/runtime/FBCorePlatform.java#24: The method
serviceChanged(ServiceEvent) of type new ServiceListener(){} must override a
superclass method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/activator/FBCoreActivator.java#13: The method
start(BundleContext) of type FBCoreActivator must override a superclass
method
[buildPlugin] ERROR - [ERROR]
com/farbeyond/core/activator/FBCoreActivator.java#23: The method
stop(BundleContext) of type FBCoreActivator must override a superclass
method
[buildPlugin] net.sf.ant4eclipse.tools.pde.build.PdeBuildException:
Compilation was not successful. See log output for error message(s)
[buildPlugin]     at
net.sf.ant4eclipse.tools.pde.ejc.EclipseLibraryCompiler.compile(EclipseLibraryCompiler.java:148)
[buildPlugin]     at
net.sf.ant4eclipse.ant.task.pde.build.AntBasedLibraryBuilder.compileLibrary(AntBasedLibraryBuilder.java:57)
[buildPlugin]     at
net.sf.ant4eclipse.tools.pde.build.PluginBuilder.buildLibrary(PluginBuilder.java:316)
[buildPlugin]     at
net.sf.ant4eclipse.tools.pde.build.PluginBuilder.build(PluginBuilder.java:166)
[buildPlugin]     at
net.sf.ant4eclipse.ant.task.pde.build.BuildPluginTask.execute(BuildPluginTask.java:212)
[buildPlugin]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
...

The warning tells that it sort of couldn't find the appropriate JRE, while I
have set the jreContainer as follows:

...
<jreContainer default="jdk1.6.0_07">
    <jre id="j2sdk1.4.2_15" location="${jdk.dir}/j2sdk1.4.2_15"/>
    <jre id="jdk1.6.0_07" location="${jdk.dir}/jdk1.6.0_07"/>
</jreContainer>
...


Please help.

Regards,

Setya
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ant4eclipse-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ant4eclipse-user

Reply via email to