antrun issues
by Orion Poplawski
Building some stuff in rawhide I'm getting:
[INFO] Error configuring: org.apache.maven.plugins:maven-antrun-plugin.
Reason: A required class was missing during mojo configuration:
org/apache/tools/ant/launch/AntMain
org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring:
org.apache.maven.plugins:maven-antrun-plugin. Reason: A required class was
missing during mojo configuration: org/apache/tools/ant/launch/AntMain
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:723)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginConfigurationException: Error
configuring: org.apache.maven.plugins:maven-antrun-plugin. Reason: A required
class was missing during mojo configuration: org/apache/tools/ant/launch/AntMain
at
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1374)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:724)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
at org.apache.tools.ant.Project.initProperties(Project.java:313)
at org.apache.tools.ant.Project.init(Project.java:300)
at
org.apache.maven.plugin.antrun.components.AntTargetConverter.processConfiguration(AntTargetConverter.java:113)
at
org.apache.maven.plugin.antrun.components.AntTargetConverter.fromConfiguration(AntTargetConverter.java:83)
at
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)
at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137)
at
org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56)
at
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1357)
... 20 more
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.AntMain
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
... 42 more
Now, I'm wondering if one or more of these is true:
- My ant 1.8.1 package needs fixing somehow
- maven-antrun-plugin needs to list ant-launcher in its dependencies
- Packages that use maven-antrun-plugin need to list ant-launcher in their
dependecies if they encounter this.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
13 years, 1 month
F13: Missing /usr/lib/jvm?
by Dan Thurman
Why is /usr/lib/jvm missing on F13 when it exists
on previous versions?
Where is it now relocated?
13 years, 1 month
Azureus F14 RC4+ updates
by Frank Murphy
As I use azureus, and am curreltly testing F14 both main arches.
Azureus won't install due to depending on various other Java pieces.
I am only learning Java (primitives), and know absolutely nothing
about packaging.
Aside from putting an rfe to the maintainer (done),
what else can *I* do, with a shortage of skillsets.
--
Regards,
Frank Murphy
UTF_8 Encoded
Friend of Fedora
13 years, 1 month
Eclipse Galileo, SystemTap: Prevents Eclipse from exiting due to errors?
by Dan Thurman
I started eclipse via the icon launcher, and noted that
/bin/sh /usr/bin/eclipse was running, which is fine.
Since I was setting up a new workspace, I added the
SVN perspective, configured it, and I was able to get
full SVN support, with color icons, menus, and so on.
But when I added SystemTap perspective, another
process was added: /usr/lib/eclipse/eclipse. This caused
both of my CPUs to run very hard.
I then wanted to save the workspace at this point and
tried to exit eclipse, but it was refused with a TON of
errors appearing in the error dialog console.
Unable to exit eclipse, I removed the SystemTap perspective,
and then manually killed the second process and eclipse
was immediately terminated.
I restarted Eclipse again, and noted that SVN configuration
was lost, so I tried to configure it again and before I could
proceed, I got this message dialog that says:
===============================
Subclipse talks to Subversion via a Jova API that requires
access to native libraries. Those libraries were either not
found or an incompatible version was loaded. The errors
are displayed below.
Information on getting a proper version installed and
visible to Eclipse is availible here:
http://subclipse.tigris.org/wiki/javaHL
===============================
Errors:
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
Native Library /usr/lib/libsvnjavahl-1.so.0.0.0 already loaded in
another classloader
no svnjavahl in java.library.path
java.library.path =
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/alliance/lib:/usr/lib/xulrunner-1.9.2:/usr/lib/xulrunner-1.9.2:/usr/java/packages/lib/i386:/lib:/usr/lib
===============================
So, I clicked ok, then proceeded to finish the configuration
for one of the repositories. Then I tried to expand that
entry and noticed that what was left was a flat tree structure
with no colors nor menus.
So it looks like I am not able to get SVN support back as I had
it as before due to SystemTap and forced termination.
For sure, adding the SystemTap perspective repeats the situation,
and refuses to allow Eclipse to be terminated due to some internal
errors.
13 years, 1 month
maven and versioned dependencies
by Orion Poplawski
I would have thought that maven would complain when provided versions were not
compatible with requested versions.
I'm working on maven-ant-tasks which lists:
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.0</version>
</dependency>
But the build didn't complain at all with ant 1.7.1 installed, until the
compile failed because an ant 1.8 feature was used.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
13 years, 1 month
Re: [fedora-java] Keep the Java stack
by Christian Kalkhoff
Hi,
I would like to adopt one or more packages. I do Java development for a living
and used to create RPM packages some years ago (Misc. Stuff, nothing Java
related).
Although I have an Fedora Account already, I am not yet an active
committer/packager.
I am short of time for the next two weeks but then I could help keeping Java
in Fedora.
Could you please point me to some current Java-Fedora-Packager-Ressources? All
I found was https://fedoraproject.org/wiki/Java which seems more end-user
orientated.
Christian
Am Montag 23 August 2010, 09:43:15 schrieb Alexander Kurtakov:
> Hi everyone,
> In order to keep the Java stack on Fedora we need help for maintaining the
> following orphaned packages:
> classworlds
> dom4j
> dtdparser
> hsqldb
> isorelax
> jlex
> jrefactory
> jzlib
> lucene
> objectweb-anttask
> plexus-ant-factory
> plexus-appserver
> plexus-bsh-factory
> plexus-compiler
> plexus-runtime-builder
> plexus-xmlrpc
> relaxngDatatype
> tomcat6
> ws-jaxme
> xjavadoc
> xmldb-api
> xmlrpc
> xom
> xpp2
> xpp3
>
13 years, 1 month
Keep the Java stack
by Aleksandar Kurtakov
Hi everyone,
In order to keep the Java stack on Fedora we need help for maintaining the
following orphaned packages:
classworlds
dom4j
dtdparser
hsqldb
isorelax
jlex
jrefactory
jzlib
lucene
objectweb-anttask
plexus-ant-factory
plexus-appserver
plexus-bsh-factory
plexus-compiler
plexus-runtime-builder
plexus-xmlrpc
relaxngDatatype
tomcat6
ws-jaxme
xjavadoc
xmldb-api
xmlrpc
xom
xpp2
xpp3
Please pick some of them and help us improving the situation.
P.S. See http://akurtakov.blogspot.com/2010/08/fedora-needs-java-
packagers.html for a bit more emotional post.
Alex
13 years, 1 month
jaxb-xjc.jar availability
by Ismael Olea
Hi:
OmegaT 2.0.5 is using jaxb-xjc; is anybody providing it?
--
Ismael Olea <ismael(a)olea.org>
Planeta OLEA
13 years, 1 month