Broken dependencies: joda-time
by Fedora Koji Build System
joda-time has broken dependencies in the epel-5 tree:
On ppc:
joda-time-1.5.2-7.tzdata2008d.el5.noarch requires java > 0:1.5.0
Please resolve this as soon as possible.
11 years, 10 months
Broken dependencies: joda-time
by Fedora Koji Build System
joda-time has broken dependencies in the epel-5 tree:
On ppc:
joda-time-1.5.2-7.tzdata2008d.el5.noarch requires java > 0:1.5.0
Please resolve this as soon as possible.
11 years, 10 months
[Bug 837967] New: java.lang.RuntimeException: Could not determine SWT implementation fragment bundle
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=837967
Bug ID: 837967
QA Contact: extras-qa(a)fedoraproject.org
Severity: medium
Version: 17
Priority: unspecified
CC: java-sig-commits(a)lists.fedoraproject.org,
rgrunber(a)redhat.com
Assignee: rgrunber(a)redhat.com
Summary: java.lang.RuntimeException: Could not determine SWT
implementation fragment bundle
Regression: ---
Story Points: ---
Classification: Fedora
OS: Linux
Reporter: orion(a)cora.nwra.com
Type: Bug
Documentation: ---
Hardware: i686
Mount Type: ---
Status: NEW
Component: tycho
Product: Fedora
Description of problem:
Trying to build the eclipse PTP project via mvn-rpmbuild/tycho and getting:
Caused by: java.lang.RuntimeException: Could not determine SWT implementation
fragment bundle
at
org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.fixSWT(ProjectorResolutionStrategy.java:143)
Now eclipse-swt is installed, and ptp seems configured to look for the various
environments:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
....
Not being at all familiar with tycho I don't know what else to check. But it
seems like this should be working.
Version-Release number of selected component (if applicable):
tycho-0.14.1-5.fc17.noarch
eclipse-swt-4.2.0-1.fc17.i686
--
You are receiving this mail because:
You are on the CC list for the bug.
11 years, 10 months
[Bug 798263] New: maven-ant-tasks is incompatible with Maven 3
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: maven-ant-tasks is incompatible with Maven 3
https://bugzilla.redhat.com/show_bug.cgi?id=798263
Summary: maven-ant-tasks is incompatible with Maven 3
Product: Fedora
Version: 17
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: maven-ant-tasks
AssignedTo: orion(a)cora.nwra.com
ReportedBy: mgoldman(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: orion(a)cora.nwra.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
While executing an Ant tasks that requires maven I get the following
stacktrace.
Related upstream bug report: http://jira.codehaus.org/browse/MANTTASKS-165
+
CLASSPATH=/usr/share/java/ant/ant-contrib.jar:/usr/share/java/maven-ant-tasks.jar:/usr/share/java/aqute-bnd.jar:/usr/share/java/maven2/maven-profile.jar:/usr/share/java/maven2/maven-project.jar:/usr/share/java/plexus/plexus-component-api.jar:/usr/share/java/maven2/maven-error-diagnostics.jar:/usr/share/java/plexus/classworlds.jar:/usr/share/java/plexus/utils.jar:/usr/share/java/plexus/interpolation.jar:/usr/share/java/maven-wagon/provider-api.jar:/usr/share/java/maven/maven-model.jar:/usr/share/java/maven/maven-artifact.jar:/usr/share/java/maven/maven-core.jar:/usr/share/java/maven/maven-compat.jar:/usr/share/java/maven/maven-settings.jar:/usr/share/java/maven/maven-settings-builder.jar
+ ant
-Djsf.build.home=/home/goldmann/work/glassfish-jsf-impl/BUILD/glassfish-jsf-impl-2.1.7
-Dcontainer.name=tomcat7
Buildfile:
/home/goldmann/work/glassfish-jsf-impl/BUILD/glassfish-jsf-impl-2.1.7/build.xml
BUILD FAILED
/home/goldmann/work/glassfish-jsf-impl/BUILD/glassfish-jsf-impl-2.1.7/build.xml:52:
The following error occurred while executing this line:
/home/goldmann/work/glassfish-jsf-impl/BUILD/glassfish-jsf-impl-2.1.7/common/ant/common.xml:164:
java.lang.NoSuchMethodError:
org.apache.maven.settings.RuntimeInfo.<init>(Lorg/apache/maven/settings/Settings;)V
at
org.apache.maven.artifact.ant.AbstractArtifactTask.loadSettings(AbstractArtifactTask.java:327)
at
org.apache.maven.artifact.ant.AbstractArtifactTask.initSettings(AbstractArtifactTask.java:277)
at
org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:717)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:225)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
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:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82)
at org.apache.tools.ant.Main.runBuild(Main.java:793)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 second
error: Bad exit status from /var/tmp/rpm-tmp.tgb4cx (%build)
Version-Release number of selected component (if applicable):
maven-3.0.4-2.fc17.x86_64 and maven-ant-tasks-2.1.1-9.fc17.noarch
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
11 years, 10 months
[Bug 723276] New: ClassNotFoundException while building with maven-ant-tasks tasks
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: ClassNotFoundException while building with maven-ant-tasks tasks
https://bugzilla.redhat.com/show_bug.cgi?id=723276
Summary: ClassNotFoundException while building with
maven-ant-tasks tasks
Product: Fedora
Version: rawhide
Platform: noarch
OS/Version: Linux
Status: NEW
Severity: medium
Priority: unspecified
Component: maven-ant-tasks
AssignedTo: orion(a)cora.nwra.com
ReportedBy: guido.grazioli(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: orion(a)cora.nwra.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Description of problem:
Building with ant and maven-ant-tasks throws several ClassNotFoundExceptions
Version-Release number of selected component (if applicable):
maven-ant-tasks-2.1.1-8.fc16.noarch
How reproducible:
Run a build.xml which invokes a <artifact:> task
Actual results:
ClassNotFoundExceptions, ie:
BUILD FAILED
/home/guido/rpmbuild/BUILD/jinput/build.xml:251: The following error occurred
while executing this line:
jar:file:/home/guido/rpmbuild/BUILD/jinput/lib/maven-ant-tasks-2.1.0.jar!/org/apache/maven/artifact/ant/antlib.xml:4:
taskdef A class needed by class org.apache.maven.artifact.ant.DependenciesTask
cannot be found: org/codehaus/classworlds/DuplicateRealmException
Expected results:
Build runs succesfully
Additional info:
I could go a bit ahead in the build, avoiding CNFEs, creating the files:
/etc/ant.d/maven-project (containing "maven2/maven-project")
/etc/ant.d/maven-error-diagnostics ("maven2/maven-error-diagnostics")
/etc/ant.d/plexus-classwords (containing "plexus/classworlds")
/etc/ant.d/plexus-container-default ("plexus/container-default")
/etc/ant.d/plexus-interpolation ("plexus/interpolation")
but at some point i get:
BUILD FAILED
/home/guido/rpmbuild/BUILD/jinput/build.xml:261: Unable to find component:
org.apache.maven.artifact.manager.WagonManager
maven-ant-tasks should also get runtime requires on the packages which provide
those jars
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
11 years, 10 months
[tycho/f17] Non-bootstrap build.
by Roland Grunberg
commit b843e8e21fa2e28107546b1c30882322cd5fd80a
Author: Roland Grunberg <rgrunber(a)redhat.com>
Date: Thu Aug 9 13:12:33 2012 -0400
Non-bootstrap build.
tycho.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/tycho.spec b/tycho.spec
index 270cec5..a79fe4e 100644
--- a/tycho.spec
+++ b/tycho.spec
@@ -1,5 +1,5 @@
%global eclipsedir %{_libdir}/eclipse
-%global bootstrap 1
+%global bootstrap 0
%if %{bootstrap}
%global snap -SNAPSHOT
@@ -9,7 +9,7 @@
Name: tycho
Version: 0.15.0
-Release: 3.1%{?dist}
+Release: 4%{?dist}
Summary: Plugins and extensions for building Eclipse plugins and OSGI bundles with Maven
Group: Development/Libraries
@@ -194,6 +194,9 @@ install -pm 755 %{SOURCE3} %{buildroot}%{_javadir}/%{name}/copy-platform-all
%{_javadocdir}/%{name}
%changelog
+* Thu Aug 9 2012 Roland Grunberg <rgrunber(a)redhat.com> 0.16.0-4
+- Non-bootstrap build.
+
* Thu Aug 9 2012 Roland Grunberg <rgrunber(a)redhat.com> 0.15.0-3.1
- Add tycho.local.keepTarget flag to bypass ignoring environments.
11 years, 10 months
[simple/f17] Added missing BR ant-junit
by gil
commit 48d5beec927c5cc59586abc1ca252edea15d8adc
Author: gil <puntogil(a)libero.it>
Date: Fri Aug 10 18:17:46 2012 +0200
Added missing BR ant-junit
simple.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/simple.spec b/simple.spec
index c761aee..f90a960 100644
--- a/simple.spec
+++ b/simple.spec
@@ -20,6 +20,7 @@ BuildRequires: java-devel
BuildRequires: jpackage-utils
BuildRequires: ant
+BuildRequires: ant-junit
# test deps
BuildRequires: junit
11 years, 10 months
[tycho/f17] Add tycho.local.keepTarget flag to bypass ignoring environments.
by Roland Grunberg
commit 633ff16ae250ff46cc2d98a39648d769cb3f24ec
Author: Roland Grunberg <rgrunber(a)redhat.com>
Date: Thu Aug 9 12:05:14 2012 -0400
Add tycho.local.keepTarget flag to bypass ignoring environments.
By default a build in local mode should ignore the user-defined
environments and use the system's environment. In some cases it may be
necessary to bypass this functionality.
tycho-use-custom-resolver.patch | 12 ++++++------
tycho.spec | 7 +++++--
2 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/tycho-use-custom-resolver.patch b/tycho-use-custom-resolver.patch
index 3a03e75..a03564c 100644
--- a/tycho-use-custom-resolver.patch
+++ b/tycho-use-custom-resolver.patch
@@ -1,4 +1,4 @@
-From 9a323780512a16b0ed3e095d4b0954ed2780fe3d Mon Sep 17 00:00:00 2001
+From 204897532cb0a533634dc66faef31afb1822df03 Mon Sep 17 00:00:00 2001
From: Roland Grunberg <rgrunber(a)redhat.com>
Date: Tue, 12 Jun 2012 10:38:51 -0400
Subject: [PATCH] Implement a custom resolver for Tycho in local mode.
@@ -16,8 +16,8 @@ for Eclipse bundles. Eclipse Juno platform bundles depend on
javax.annotation. In Fedora this is provided by geronimo-annotation, but
has a dependency on javax.lang.model (since 1.6).
-Ignore all environments defined in target-platform-configuration when
-running in local mode.
+Use the defined target environments in local mode when the property
+tycho.local.keepTarget is set.
Change-Id: Ia1ece07ece2412bc4a88901631f3f651ad2b634b
---
@@ -203,7 +203,7 @@ index fe6383f..d037faf 100644
throw new RuntimeException("Unknown execution environment specified in build.properties of project "
+ project, e);
diff --git a/tycho-core/src/main/java/org/eclipse/tycho/core/resolver/DefaultTargetPlatformConfigurationReader.java b/tycho-core/src/main/java/org/eclipse/tycho/core/resolver/DefaultTargetPlatformConfigurationReader.java
-index aad664a..87fe760 100644
+index c2997bc..fafb77e 100644
--- a/tycho-core/src/main/java/org/eclipse/tycho/core/resolver/DefaultTargetPlatformConfigurationReader.java
+++ b/tycho-core/src/main/java/org/eclipse/tycho/core/resolver/DefaultTargetPlatformConfigurationReader.java
@@ -66,7 +66,10 @@ public class DefaultTargetPlatformConfigurationReader {
@@ -211,8 +211,8 @@ index aad664a..87fe760 100644
}
- addTargetEnvironments(result, project, configuration);
-+ // Ignore defined environments in local mode
-+ if (System.getProperty("maven.local.mode") == null) {
++ // Use the defined environments only in local mode with tycho.local.keepTarget
++ if (System.getProperty("maven.local.mode") == null || System.getProperty("tycho.local.keepTarget") != null) {
+ addTargetEnvironments(result, project, configuration);
+ }
diff --git a/tycho.spec b/tycho.spec
index 6d92043..270cec5 100644
--- a/tycho.spec
+++ b/tycho.spec
@@ -1,5 +1,5 @@
%global eclipsedir %{_libdir}/eclipse
-%global bootstrap 0
+%global bootstrap 1
%if %{bootstrap}
%global snap -SNAPSHOT
@@ -9,7 +9,7 @@
Name: tycho
Version: 0.15.0
-Release: 3%{?dist}
+Release: 3.1%{?dist}
Summary: Plugins and extensions for building Eclipse plugins and OSGI bundles with Maven
Group: Development/Libraries
@@ -194,6 +194,9 @@ install -pm 755 %{SOURCE3} %{buildroot}%{_javadir}/%{name}/copy-platform-all
%{_javadocdir}/%{name}
%changelog
+* Thu Aug 9 2012 Roland Grunberg <rgrunber(a)redhat.com> 0.15.0-3.1
+- Add tycho.local.keepTarget flag to bypass ignoring environments.
+
* Tue Jul 31 2012 Roland Grunberg <rgrunber(a)redhat.com> 0.15.0-3
- Non-bootstrap build.
11 years, 10 months