[fest-swing] Initial import (#816967).
by Mario Torre
commit c69ebb9cee5cd2b8e0caa5f85e4941639f449256
Author: neugens <neugens(a)redhat.com>
Date: Mon May 7 13:15:56 2012 +0200
Initial import (#816967).
.gitignore | 1 +
fest-swing.spec | 117 ++++++++++++++++++++++++++++++++++++++++++++++++
fix-assert-deps.patch | 12 +++++
fix-encoding.patch | 13 +++++
fix-parent-pom.patch | 12 +++++
make-fest-tarball.sh | 7 +++
remove-mock-deps.patch | 16 +++++++
sources | 1 +
8 files changed, 179 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fb8fbb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fest-swing-1.2.1.tar.bz2
diff --git a/fest-swing.spec b/fest-swing.spec
new file mode 100644
index 0000000..ae36c77
--- /dev/null
+++ b/fest-swing.spec
@@ -0,0 +1,117 @@
+Name: fest-swing
+Version: 1.2.1
+Release: 6%{?dist}
+Summary: FEST Swing
+
+Group: Development/Libraries
+License: ASL 2.0
+URL: http://fest.easytesting.org
+
+# from http://svn.codehaus.org/fest/tags/fest-swing-1.2.1
+# use make-fest-tarball.sh to generate
+Source0: fest-swing-%{version}.tar.bz2
+Source1: make-fest-tarball.sh
+
+# make sure dependencies match the available packages
+Patch0: remove-mock-deps.patch
+Patch1: fix-assert-deps.patch
+Patch2: fix-parent-pom.patch
+Patch3: fix-encoding.patch
+
+BuildArch: noarch
+
+BuildRequires: jcip-annotations
+BuildRequires: jpackage-utils
+BuildRequires: fest-common = 1.0.11
+BuildRequires: fest-util = 1.2.0
+
+BuildRequires: fest-reflect = 1.3
+BuildRequires: fest-assert = 1.4
+
+BuildRequires: maven
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-surefire
+BuildRequires: maven-surefire-provider-junit4
+BuildRequires: maven-dependency-plugin
+
+Requires: jcip-annotations
+Requires: java
+Requires: jpackage-utils
+
+Requires: fest-common = 1.0.11
+Requires: fest-util = 1.2.0
+Requires: fest-reflect = 1.3
+Requires: fest-assert = 1.4
+
+%description
+Fluent interface for functional GUI testing
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+API documentation for %{name}.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+# skip test because we don't package fest-mock, since it indirectly
+# requires a library who doesn't comply with the allowed lincenses
+%build
+mvn-rpmbuild \
+ -Dmaven.test.skip=true \
+ -e \
+ install javadoc:javadoc
+
+%install
+# jars
+install -d -m 0755 %{buildroot}%{_javadir}
+install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# poms
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml \
+ %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+# javadoc
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
+
+%files
+%{_javadir}/*
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%doc LICENSE.txt
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE.txt
+
+%changelog
+
+* Fri May 4 2012 Mario Torre <neugens(a)redhat.com> 1.2.1-6
+- Cleanup patch
+
+* Fri May 4 2012 Mario Torre <neugens(a)redhat.com> 1.2.1-5
+- Add script to generate source from svn
+- Add more depencencies
+
+* Thu May 3 2012 Mario Torre <neugens(a)redhat.com> 1.2.1-4
+- Renamed back to match Fedora packaging guidelines name
+
+* Thu May 3 2012 Mario Torre <neugens(a)redhat.com> 1.2.1-3
+- Renamed to match upstream name
+
+* Thu May 3 2012 Mario Torre <neugens(a)redhat.com> 1.2.1-2
+- Fix dependencies
+
+* Wed Apr 25 2012 Mario Torre <neugens(a)redhat.com> 1.2.1-1
+- Initial package
diff --git a/fix-assert-deps.patch b/fix-assert-deps.patch
new file mode 100644
index 0000000..b9b26b5
--- /dev/null
+++ b/fix-assert-deps.patch
@@ -0,0 +1,12 @@
+diff -uNr fest-swing-1.2.1.orig/pom.xml fest-swing-1.2.1/pom.xml
+--- fest-swing-1.2.1.orig/pom.xml 2012-04-26 20:52:23.402360827 +0200
++++ fest-swing-1.2.1/pom.xml 2012-04-26 20:54:50.962296326 +0200
+@@ -71,7 +71,7 @@
+ <dependency>
+ <groupId>org.easytesting</groupId>
+ <artifactId>fest-assert</artifactId>
+- <version>1.2</version>
++ <version>1.4</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
diff --git a/fix-encoding.patch b/fix-encoding.patch
new file mode 100644
index 0000000..d480968
--- /dev/null
+++ b/fix-encoding.patch
@@ -0,0 +1,13 @@
+diff -uNr fest-swing-1.2.1.orig/pom.xml fest-swing-1.2.1/pom.xml
+--- fest-swing-1.2.1.orig/pom.xml 2012-04-26 21:25:51.036554565 +0200
++++ fest-swing-1.2.1/pom.xml 2012-04-26 21:26:44.464531629 +0200
+@@ -58,6 +58,9 @@
+ </plugin>
+ </plugins>
+ </build>
++ <properties>
++ <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
++ </properties>
+ <scm>
+ <developerConnection>scm:svn:https://svn.codehaus.org/fest/</developerConnection>
+ <connection>scm:svn:http://svn.codehaus.org/fest/</connection>
diff --git a/fix-parent-pom.patch b/fix-parent-pom.patch
new file mode 100644
index 0000000..0052c1d
--- /dev/null
+++ b/fix-parent-pom.patch
@@ -0,0 +1,12 @@
+diff -uNr fest-swing-1.2.1.orig/pom.xml fest-swing-1.2.1/pom.xml
+--- fest-swing-1.2.1.orig/pom.xml 2012-04-26 20:59:28.668174946 +0200
++++ fest-swing-1.2.1/pom.xml 2012-04-26 21:00:00.270161133 +0200
+@@ -13,7 +13,7 @@
+ <parent>
+ <groupId>org.easytesting</groupId>
+ <artifactId>fest</artifactId>
+- <version>1.0.1</version>
++ <version>1.0.11</version>
+ </parent>
+ <mailingLists>
+ <mailingList>
diff --git a/make-fest-tarball.sh b/make-fest-tarball.sh
new file mode 100755
index 0000000..5e4cc7f
--- /dev/null
+++ b/make-fest-tarball.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+VERSION=1.2.1
+SRCDIR=fest-swing-${VERSION}
+
+svn export http://svn.codehaus.org/fest/tags/fest-swing-1.2.1 ${SRCDIR}
+tar -cvjf fest-swing-${VERSION}.tar.bz2 ${SRCDIR}
diff --git a/remove-mock-deps.patch b/remove-mock-deps.patch
new file mode 100644
index 0000000..8dd30fd
--- /dev/null
+++ b/remove-mock-deps.patch
@@ -0,0 +1,16 @@
+diff -uNr fest-swing-1.2.1.orig/pom.xml fest-swing-1.2.1/pom.xml
+--- fest-swing-1.2.1.orig/pom.xml 2012-04-26 20:50:07.000000000 +0200
++++ fest-swing-1.2.1/pom.xml 2012-04-26 20:52:23.402360827 +0200
+@@ -94,12 +94,6 @@
+ </dependency>
+ <dependency>
+ <groupId>org.easytesting</groupId>
+- <artifactId>fest-mocks</artifactId>
+- <version>1.1</version>
+- <scope>test</scope>
+- </dependency>
+- <dependency>
+- <groupId>org.easytesting</groupId>
+ <artifactId>fest-test</artifactId>
+ <version>1.2</version>
+ <scope>test</scope>
diff --git a/sources b/sources
index e69de29..15fb510 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4df3747fddcb864684e0334660c4349c fest-swing-1.2.1.tar.bz2
12 years
[Bug 772375] New: ant not using jars in ~/.ant/lib
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: ant not using jars in ~/.ant/lib
https://bugzilla.redhat.com/show_bug.cgi?id=772375
Summary: ant not using jars in ~/.ant/lib
Product: Fedora
Version: 16
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: unspecified
Component: ant
AssignedTo: extras-orphan(a)fedoraproject.org
ReportedBy: scott-redhat(a)shambarger.net
QAContact: extras-qa(a)fedoraproject.org
CC: extras-orphan(a)fedoraproject.org, akurtako(a)redhat.com,
mmatejov(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
ant build using jar in ~/.ant/lib fails
Version-Release number of selected component (if applicable):
ant-1.8.2-6.fc16
How reproducible:
Always
Steps to Reproduce:
1. Place required .jar file in ~/.ant/lib, in this case maven-ant-tasks.jar
(v2.1.3) downloaded from http://maven.apache.org/ant-tasks
2. Create build.xml file that uses classes in .jar file (see below)
3. Type ant, and encounter error
Actual results:
Buildfile: /opt/devel/test/build.xml
BUILD FAILED
/opt/devel/test/build.xml:5: Problem: failed to create task or type
antlib:org.apache.maven.artifact.ant:remoteRepository
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/share/ant/lib
-/opt/devel/.ant/lib
-a directory added on the command line with the -lib argument
Expected results:
Buildfile: /opt/devel/test/build.xml
help:
[echo] Test
BUILD SUCCESSFUL
Additional info:
Directory ~/test contains the file build.xml, contents:
--- start build.xml
<?xml version="1.0" ?>
<project name="Test" default="help" basedir="."
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<artifact:remoteRepository id="my.repository" url="http://example.com">
<snapshots updatePolicy="always" />
</artifact:remoteRepository>
<target name="help">
<echo message="Test"/>
</target>
</project>
--- end build.xml
This project references artifact:remoteRepository, which is implemented in
~/.ant/lib/maven-ant-tasks.jar (present in user's directory and downloaded
directly from http://maven.apache.org/ant-tasks/download.html).
Installing ant-1.8.2-bin from http://ant.apache.org/bindownload.cgi, and
setting ANT_HOME to the install directory results in the expected result.
Using the RPM ant-1.8.2 results in the actual results (with ANT_HOME set or
unset).
It's possible to work around the problem with a <typedef> in build.xml but that
requires updating each and every build.xml file in the source repository, and
does not follow the guidelines for maven-ant-tasks on
http://maven.apache.org/ant-tasks/installation.html
Jar libraries in /usr/share/ant/lib and ~/.ant/lib should be considered when
ant runs (and does on the release binary). The RPM build does not seem to work
correctly.
There doesn't appear to be any documentation supplied with ant-1.8.2 that
provides guidelines for any modified behavior of the ant release relative to
the apache.org release.
--
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.
12 years
[felix-bundlerepository] Run mvn-rpmbuild package instead of mvn-rpmbuild install
by Mikolaj Izdebski
commit 6411f8f831d5fd63f484a8f2fef87fd80aedd261
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon May 7 10:17:32 2012 +0200
Run mvn-rpmbuild package instead of mvn-rpmbuild install
felix-bundlerepository.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/felix-bundlerepository.spec b/felix-bundlerepository.spec
index 1a9ae45..9fc80e0 100644
--- a/felix-bundlerepository.spec
+++ b/felix-bundlerepository.spec
@@ -51,7 +51,7 @@ This package contains the API documentation for %{name}.
%patch2 -p1
%build
-mvn-rpmbuild install javadoc:aggregate
+mvn-rpmbuild package javadoc:aggregate
%install
# jars
@@ -81,6 +81,7 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
- Unbundle libraries
- Add dependency on xpp3
- Include NOTICE in javadoc package
+- Resolves #817581
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.6.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years
[felix-bundlerepository] Add dependency on xpp3
by Mikolaj Izdebski
commit 450dddcd7a11ae51d0fc4443c40418ea738a7571
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon Apr 30 20:51:24 2012 +0200
Add dependency on xpp3
0001-Unbundle-libraries.patch | 2 +-
0002-Add-xpp3-dependency.patch | 29 +++++++++++++++++++++++++++++
felix-bundlerepository.spec | 9 +++++++--
3 files changed, 37 insertions(+), 3 deletions(-)
---
diff --git a/0001-Unbundle-libraries.patch b/0001-Unbundle-libraries.patch
index c1e7ac4..359cac0 100644
--- a/0001-Unbundle-libraries.patch
+++ b/0001-Unbundle-libraries.patch
@@ -1,7 +1,7 @@
From f2f391e2ab3f289657ada944327200025df74073 Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon, 30 Apr 2012 20:25:01 +0200
-Subject: [PATCH] Unbundle libraries
+Subject: [PATCH 1/2] Unbundle libraries
---
pom.xml | 11 +----------
diff --git a/0002-Add-xpp3-dependency.patch b/0002-Add-xpp3-dependency.patch
new file mode 100644
index 0000000..4022cce
--- /dev/null
+++ b/0002-Add-xpp3-dependency.patch
@@ -0,0 +1,29 @@
+From 6211e024938141fd3d6e63b2723a5cf241f06d29 Mon Sep 17 00:00:00 2001
+From: Mikolaj Izdebski <mizdebsk(a)redhat.com>
+Date: Mon, 30 Apr 2012 20:48:57 +0200
+Subject: [PATCH 2/2] Add xpp3 dependency
+
+---
+ pom.xml | 6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/pom.xml b/pom.xml
+index 6081935..2eece36 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -60,6 +60,12 @@
+ <optional>true</optional>
+ </dependency>
+ <dependency>
++ <groupId>xpp3</groupId>
++ <artifactId>xpp3</artifactId>
++ <version>1.1.3.4.O</version>
++ <optional>true</optional>
++ </dependency>
++ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ <version>4.0.0</version>
+--
+1.7.7.6
+
diff --git a/felix-bundlerepository.spec b/felix-bundlerepository.spec
index dd7b678..1a9ae45 100644
--- a/felix-bundlerepository.spec
+++ b/felix-bundlerepository.spec
@@ -10,7 +10,8 @@ Group: Development/Libraries
URL: http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
Source0: http://www.fightrice.com/mirrors/apache/felix/org.apache.felix.bundlerepo...
-Patch0: 0001-Unbundle-libraries.patch
+Patch1: 0001-Unbundle-libraries.patch
+Patch2: 0002-Add-xpp3-dependency.patch
BuildArch: noarch
@@ -22,6 +23,7 @@ BuildRequires: kxml
BuildRequires: maven
BuildRequires: maven-surefire-provider-junit4
BuildRequires: woodstox-core
+BuildRequires: xpp3
Requires: java
Requires: jpackage-utils
@@ -29,6 +31,7 @@ Requires: felix-shell
Requires: felix-utils
Requires: kxml
Requires: woodstox-core
+Requires: xpp3
%description
@@ -44,7 +47,8 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{site_name}-%{version}
-%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
mvn-rpmbuild install javadoc:aggregate
@@ -75,6 +79,7 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%changelog
* Mon Apr 30 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 1.6.6-5
- Unbundle libraries
+- Add dependency on xpp3
- Include NOTICE in javadoc package
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.6.6-4
12 years
[felix-bundlerepository] Unbundle libraries
by Mikolaj Izdebski
commit c1d1cd74f5bde67f0868aa01d606cdf96bc4447d
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon Apr 30 20:41:05 2012 +0200
Unbundle libraries
0001-Unbundle-libraries.patch | 41 +++++++++++++++++++++++++++++++++++++++++
felix-bundlerepository.spec | 17 +++++++++++------
2 files changed, 52 insertions(+), 6 deletions(-)
---
diff --git a/0001-Unbundle-libraries.patch b/0001-Unbundle-libraries.patch
new file mode 100644
index 0000000..c1e7ac4
--- /dev/null
+++ b/0001-Unbundle-libraries.patch
@@ -0,0 +1,41 @@
+From f2f391e2ab3f289657ada944327200025df74073 Mon Sep 17 00:00:00 2001
+From: Mikolaj Izdebski <mizdebsk(a)redhat.com>
+Date: Mon, 30 Apr 2012 20:25:01 +0200
+Subject: [PATCH] Unbundle libraries
+
+---
+ pom.xml | 11 +----------
+ 1 files changed, 1 insertions(+), 10 deletions(-)
+
+diff --git a/pom.xml b/pom.xml
+index 19831ee..6081935 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -58,12 +58,6 @@
+ <artifactId>kxml2</artifactId>
+ <version>2.3.0</version>
+ <optional>true</optional>
+- <exclusions>
+- <exclusion>
+- <groupId>xmlpull</groupId>
+- <artifactId>xmlpull</artifactId>
+- </exclusion>
+- </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+@@ -99,10 +93,7 @@
+ <instructions>
+ <Export-Package>org.apache.felix.bundlerepository;version="2.0"</Export-Package>
+ <Private-Package>
+- org.kxml2.io,
+- org.xmlpull.v1,
+- org.apache.felix.bundlerepository.impl.*,
+- org.apache.felix.utils.*
++ org.apache.felix.bundlerepository.impl.*
+ </Private-Package>
+ <Import-Package>!javax.xml.parsers,!org.xml.sax,org.osgi.service.log;resolution:=optional,org.osgi.service.obr;resolution:=optional,javax.xml.stream;resolution:=optional,*</Import-Package>
+ <DynamicImport-Package>org.apache.felix.shell</DynamicImport-Package>
+--
+1.7.7.6
+
diff --git a/felix-bundlerepository.spec b/felix-bundlerepository.spec
index 05eac84..dd7b678 100644
--- a/felix-bundlerepository.spec
+++ b/felix-bundlerepository.spec
@@ -10,22 +10,25 @@ Group: Development/Libraries
URL: http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
Source0: http://www.fightrice.com/mirrors/apache/felix/org.apache.felix.bundlerepo...
+Patch0: 0001-Unbundle-libraries.patch
BuildArch: noarch
-BuildRequires: woodstox-core
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
BuildRequires: felix-shell
BuildRequires: felix-utils
-BuildRequires: java-devel
+BuildRequires: kxml
BuildRequires: maven
BuildRequires: maven-surefire-provider-junit4
-BuildRequires: jpackage-utils
+BuildRequires: woodstox-core
-Requires: woodstox-core
+Requires: java
+Requires: jpackage-utils
Requires: felix-shell
Requires: felix-utils
-Requires: jpackage-utils
-Requires: java
+Requires: kxml
+Requires: woodstox-core
%description
@@ -41,6 +44,7 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{site_name}-%{version}
+%patch0 -p1
%build
mvn-rpmbuild install javadoc:aggregate
@@ -70,6 +74,7 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%changelog
* Mon Apr 30 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 1.6.6-5
+- Unbundle libraries
- Include NOTICE in javadoc package
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.6.6-4
12 years
[felix-bundlerepository] Include NOTICE in javadoc package
by Mikolaj Izdebski
commit af535c8fab7818afea5f5b283fff1d8f014e688b
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Mon Apr 30 18:59:20 2012 +0200
Include NOTICE in javadoc package
felix-bundlerepository.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/felix-bundlerepository.spec b/felix-bundlerepository.spec
index 4516ec3..05eac84 100644
--- a/felix-bundlerepository.spec
+++ b/felix-bundlerepository.spec
@@ -3,7 +3,7 @@
Name: felix-bundlerepository
Version: 1.6.6
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Bundle repository service
License: ASL 2.0 and BSD
Group: Development/Libraries
@@ -65,10 +65,13 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%{_mavendepmapfragdir}/%{name}
%files javadoc
-%doc LICENSE LICENSE.kxml2
+%doc LICENSE LICENSE.kxml2 NOTICE
%doc %{_javadocdir}/%{name}
%changelog
+* Mon Apr 30 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 1.6.6-5
+- Include NOTICE in javadoc package
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.6.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years
[Bug 819112] New: tomcat doesn't deploy context file properly
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: tomcat doesn't deploy context file properly
https://bugzilla.redhat.com/show_bug.cgi?id=819112
Summary: tomcat doesn't deploy context file properly
Product: Fedora
Version: 17
Platform: Unspecified
OS/Version: Linux
Status: NEW
Severity: unspecified
Priority: unspecified
Component: tomcat
AssignedTo: ivan.afonichev(a)gmail.com
ReportedBy: samuel-rhbugs(a)sieb.net
QAContact: extras-qa(a)fedoraproject.org
CC: akurtako(a)redhat.com,
java-sig-commits(a)lists.fedoraproject.org,
ivan.afonichev(a)gmail.com, kdaniel(a)redhat.com
Classification: Fedora
Story Points: ---
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
In the WEB-INF folder of my webapp, which I'll call ABC, there is a context.xml
containing a jdbc resource. When tomcat deploys the war file, the context.xml
is ignored. Some research on the web suggested that the context should be in a
file called ABC.xml in /etc/tomcat/Catalina/localhost and that tomcat should
automatically copy it there. I copied my context.xml file to that location as
ABC.xml and the jdbc resource works. However, when I deployed a new version of
my ABC.war file, the context file in /etc/tomcat/Catalina/localhost was removed
and jdbc stopped working again. I tried naming the file in WEB-INF as ABC.xml
instead of context.xml and that didn't make any difference. There shouldn't be
a permissions problem, since tomcat is able to delete files out of the
directory. Am I doing something wrong or is tomcat?
--
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.
12 years