in org.jnode.shell.command.xml there is 3

Project:JNode Core
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Fabien D
Status:closed
Description

in org.jnode.shell.command.xml there is 3 export clauses :

export name="org.jnode.shell.command.benchmark.*"
export name="org.jnode.shell.command.benchmark.jgfutil.*"
export name="org.jnode.shell.command.benchmark.section1.*"

I have not found the corresponding packages.

So, here are the things to do, in that order :
1 - fix the plugin builder by emitting a warning message to stderr
2 - test with a clean build that the error in the export clauses is detected
3 - remove erroneous export clauses (maybe there is more than the 3 mentionned above).

for step 1, an exception can also be thrown but that I am not sure if it's a good idea because that will break the build.

#1

Assigned to:Anonymous» Fabien D

I will fix that and take the option of printing a warning message to stderr.

#2

I have commited a fix that emit warning messages when such error is detected.

Here are the warnings that I get :
[plugin] WARNING : org.classpath.ext.core_0.2.8-dev.jar doesn't contain package gnu/java/net/protocol/http/event/*
[plugin] WARNING : org.classpath.ext.core_0.2.8-dev.jar doesn't contain package gnu/java/rmi/registry/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/javax/rmi/CORBA/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/CDR/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/DynAn/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/GIOP/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/GIOP/v1_0/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/GIOP/v1_2/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/Interceptor/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/interfaces/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/NamingService/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/Poa/*
[plugin] WARNING : org.classpath.ext.corba_0.2.8-dev.jar doesn't contain package gnu/CORBA/typecodes/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package gnu/classpath/tools/orbd/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package gnu/classpath/tools/tnameserv/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/attrs/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/commons/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/optimizer/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/signature/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/tree/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/tree/analysis/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/util/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/util/attrs/*
[plugin] WARNING : org.classpath.tools_0.2.8-dev.jar doesn't contain package org/objectweb/asm/xml/*
[plugin] WARNING : org.jnode.awt.swingpeers_0.2.8-dev.jar doesn't contain package org/jnode/awt/swingpeers/event/*
[plugin] WARNING : org.jnode.driver_0.2.8-dev.jar doesn't contain package org/jnode/driver/util/*
[plugin] WARNING : org.jnode.fs.iso9660_0.2.8-dev.jar doesn't contain package org/jnode/fs/iso9660/attributes/*
[plugin] WARNING : org.jnode.fs.ntfs_0.2.8-dev.jar doesn't contain package org/jnode/fs/ntfs/attributes/*
[plugin] WARNING : org.jnode.partitions.command_0.2.8-dev.jar doesn't contain package org/jnode/partitions/help/argument/*
[plugin] WARNING : org.jnode.runtime.core_0.2.8-dev.jar doesn't contain package org/jnode/system/util/*
[plugin] WARNING : org.jnode.shell.command_0.2.8-dev.jar doesn't contain package org/jnode/shell/command/benchmark/*
[plugin] WARNING : org.jnode.shell.command_0.2.8-dev.jar doesn't contain package org/jnode/shell/command/benchmark/jgfutil/*
[plugin] WARNING : org.jnode.shell.command_0.2.8-dev.jar doesn't contain package org/jnode/shell/command/benchmark/section1/*
[plugin] WARNING : org.jnode.shell_0.2.8-dev.jar doesn't contain package org/jnode/shell/alias/util/*

So, some cleanup is needed in the plugin descriptors.

#3

Status:active» fixed

I have fixed all the above warnings.

#4

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.