Re: Tomcat update
paul s <[email protected]>
| Newsgroups | gmane.linux.jpackage.general |
|---|---|
| Message-ID | <[email protected]> |
On 10/08/2010 11:10 AM, Will Tatam wrote:
> On 08/10/10 15:53, paul s wrote:
>>
>> well peeps, looks like we are going to have to do this ourselves. hi-ho!
>>
>> i took a look at the src rpm and checked how the source was being laid
>> out as well as changing the spec to build. i don't think that i
>> swapped the right libraries as tomcat started up saying it was still
>> 26 after building the rpms.
>>
>> however my vote is tomcat-6.0.29& tomcat-7.0.2 as they are the most
>> current.
>>
>> cheers
>> paul
>>
>>
> I had a quick play with the spec, simply updating the version in the
> spec causes the build to fail with
>
> deploy:
> [copy] Copying 1 file to
> /builddir/build/BUILD/tomcat6-6.0.29/apache-tomcat-6.0.29-src/output/build/bin
> BUILD FAILED
> /builddir/build/BUILD/tomcat6-6.0.29/apache-tomcat-6.0.29-src/build.xml:477:
> Warning: Could not find file
> /builddir/build/BUILD/tomcat6-6.0.29/apache-tomcat-6.0.29-src/commons-daemon-1.0.2/commons-daemon-1.0.2-native-src.tar.gz
> to copy.
>
>
hi -
so i was able to get it to build successfully. here is what i did.
- downloaded 6.0.26 source rpm
- downloaded 6.0.29 source tarball from apache
- changed tomcat6.spec:
@36: %define micro_version 29
@238: # %{__rm} output/build/bin/HACK \
@239: %{__rm} output/build/bin/tomcat-native.tar.gz \
- removed lines 476 & 477 of the source build.xml
i also upgraded to commons-daemon-1.0.2 but not sure if that really matters.
i have attached a torrent which contains the fc12 rpm and src package if
you want to rebuild for your flavor.
ping me if you have trouble with the torrent.
debug away!!
cheers
paul
_______________________________________________
JPackage-discuss mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/jpackage-discuss