Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty P2 composite repositories

The set-version output is a bit noisy, and it actually prompts you for confirmation, is that what you expect?

[cching@cching-rhel-01 org.eclipse.jetty.releng.bundles]$ ./set-version.sh 8.1.6
++ dirname ./set-version.sh
+ thisdir=.
+ cd .
++ pwd
+ thisdir=/home/cching/dev/jetty/org.eclipse.jetty.releng.bundles
+ '[' -z '' ']'
+ '[' -n 8.1.6 ']'
+ NEW_VERSION=8.1.6
+ '[' -z '' ']'
+ reg='<version>(.*)-SNAPSHOT<\/version>'
++ awk '{if ($1 ~ /<version>(.*)-SNAPSHOT<\/version>/){print $1}}'
++ head -1
+ line='<version>8.1.3-SNAPSHOT</version>'
++ echo '<version>8.1.3-SNAPSHOT</version>'
++ awk 'match($0, "<version>(.*)-SNAPSHOT</version>", a) { print a[1] }'
+ OLD_VERSION=8.1.3
+ '[' -z 8.1.3 ']'
++ echo 8.1.6
++ awk -F. '{print $1,$2,$3}'
+ var='8 1 6'
+ set -- 8 1 6
+ '[' -n 8 -a -n 1 -a -n 6 ']'
+ NEW_VERSION=8.1.6
+ completeVersion=8.1.6.qualifier
+ echo 8.1.6.qualifier
8.1.6.qualifier
+ '[' 1 '!=' quiet ']'
+ echo 'Change the version from 8.1.3 to 8.1.6 and set the forceContextQualifier to  ? (default yes)'
Change the version from 8.1.3 to 8.1.6 and set the forceContextQualifier to  ? (default yes)
+ read quiet

+ '[' -n '' ']'
+ echo Executing...
Executing...
+ find . -name pom.xml -type f -exec sed -i s/8.1.3/8.1.6/g '{}' ';'
+ OLD_VERSION_QUALIFIER=8.1.3.qualifier
+ NEW_VERSION_QUALIFIER=8.1.6.qualifier
+ echo '8.1.3.qualifier -> 8.1.6.qualifier'
8.1.3.qualifier -> 8.1.6.qualifier
+ find . -type f -name feature.xml -exec sed -i s/8.1.3.qualifier/8.1.6.qualifier/g '{}' ';'
+ find . -type f -name categories.xml -exec sed -i s/8.1.3.qualifier/8.1.6.qualifier/g '{}' ';'
+ find . -type f -name category.xml -exec sed -i s/8.1.3.qualifier/8.1.6.qualifier/g '{}' ';'
+ find . -type f -name site.xml -exec sed -i s/8.1.3.qualifier/8.1.6.qualifier/g '{}' ';'
+ find . -type f -name MANIFEST.MF -exec sed -i s/8.1.3.qualifier/8.1.6.qualifier/g '{}' ';'
+ find . -type f -name '*.product' -exec sed -i s/8.1.3.qualifier/8.1.6.qualifier/g '{}' ';'

the subsequent 'mvn clean verify -X -U' fails with this:

[INFO] Adding repository http://download.eclipse.org/eclipse/updates/3.8milestones
[ERROR] Internal error: java.lang.RuntimeException: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/eclipse/updates/3.8milestones. -> [Help 1]

I'm not sure if I can continue or not.  Is there something I can verify at this point?



On Wed, Aug 29, 2012 at 1:16 PM, Jesse McConnell <jesse.mcconnell@xxxxxxxxx> wrote:
yeah, that must be it, this is the basic process the build goes
through so maybe try the first two on the cli and see what happens :/

  $WORKSPACE/set-version.sh $set_pom_version

followed by

mvn clean verify -X -U

and then

$WORKSPACE/post-tycho.sh





--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Wed, Aug 29, 2012 at 1:14 PM, Craig Ching <craigching@xxxxxxxxx> wrote:
> As a followup, there are lots of references to 8.1.3 in the hudson console
> for that build, e.g.:
>
> [DEBUG] adding entry
> features/org.eclipse.jetty.bundles.f.source_8.1.3.201207172019.jar
> [DEBUG] adding entry
> features/org.eclipse.jetty.bundles.f_8.1.3.201207172019.jar
>
>
> On Wed, Aug 29, 2012 at 1:10 PM, Craig Ching <craigching@xxxxxxxxx> wrote:
>>
>> What's the right way for me to try this out?  I see a set-version.sh and a
>> note in README that says to use the tycho version plugin.  Which one would I
>> use to try and build a development P2 repository?  Does it make sense for me
>> to go further on this if it's a hudson configuration problem?  I am thinking
>> that if I can at least verify that I can create a valid p2 repository for
>> 8.1.6-SNAPSHOT that that would help you narrow it down to a hudson problem.
>> WDYT?
>>
>> Cheers,
>> Craig
>>
>>
>> On Wed, Aug 29, 2012 at 12:42 PM, Jesse McConnell
>> <jesse.mcconnell@xxxxxxxxx> wrote:
>>>
>>> we trigger it with some scripting and the hudson build :)
>>>
>>> https://hudson.eclipse.org/hudson/view/Jetty-RT/job/jetty-rt-bundles-8/
>>>
>>> i wonder if the scripting isn't all emcompassing, if it shows 8.1.3
>>> stuff that perhaps that mechanic isn't working..
>>>
>>> jesse
>>>
>>> --
>>> jesse mcconnell
>>> jesse.mcconnell@xxxxxxxxx
>>>
>>>
>>> On Wed, Aug 29, 2012 at 12:32 PM, Craig Ching <craigching@xxxxxxxxx>
>>> wrote:
>>> > Hi Jesse,
>>> >
>>> > I don't see a jetty-8 tag, but I do see a jetty-8 branch, that must be
>>> > what
>>> > you mean.  However, there is nothing related to the 8.1.4 and 8.1.5
>>> > releases
>>> > there, the last activity seems to be related to the 8.1.3 Juno release
>>> > on
>>> > 2012-06-05.
>>> >
>>> > Cheers,
>>> > Craig
>>> >
>>> >
>>> > On Wed, Aug 29, 2012 at 11:01 AM, Jesse McConnell
>>> > <jesse.mcconnell@xxxxxxxxx> wrote:
>>> >>
>>> >> nope, in here :
>>> >> http://git.eclipse.org/c/jetty/org.eclipse.jetty.releng.bundles.git/
>>> >>
>>> >> under the jetty-8 tag
>>> >>
>>> >> jesse
>>> >>
>>> >> --
>>> >> jesse mcconnell
>>> >> jesse.mcconnell@xxxxxxxxx
>>> >>
>>> >>
>>> >> On Wed, Aug 29, 2012 at 10:55 AM, Craig Ching <craigching@xxxxxxxxx>
>>> >> wrote:
>>> >> > Ok, I must be misunderstanding then.  You're using tycho to build
>>> >> > that
>>> >> > p2
>>> >> > repository?  And so I should look at how Jetty's build process is
>>> >> > building
>>> >> > the p2 repository?  If that's the case, I can try and look into
>>> >> > that.
>>> >> >
>>> >> > When you first mentioned tycho, I thought maybe you were implying
>>> >> > the
>>> >> > problem was on my end.
>>> >> >
>>> >> >
>>> >> > On Wed, Aug 29, 2012 at 10:31 AM, Jesse McConnell
>>> >> > <jesse.mcconnell@xxxxxxxxx> wrote:
>>> >> >>
>>> >> >> right, that metadata is apparently being built wrong by the tycho
>>> >> >> build
>>> >> >>
>>> >> >> jesse
>>> >> >>
>>> >> >> --
>>> >> >> jesse mcconnell
>>> >> >> jesse.mcconnell@xxxxxxxxx
>>> >> >>
>>> >> >>
>>> >> >> On Wed, Aug 29, 2012 at 10:29 AM, Craig Ching
>>> >> >> <craigching@xxxxxxxxx>
>>> >> >> wrote:
>>> >> >> > Well, I think it's because the 8.1.5 p2 repository metadata
>>> >> >> > (site.xml,
>>> >> >> > content.xml, etc.) refers to a version (8.1.3.201207172019) that
>>> >> >> > doesn't
>>> >> >> > exist in the repository for 8.1.5.  8.1.4 doesn't seem to have
>>> >> >> > this
>>> >> >> > problem.
>>> >> >> > If you're not seeing the same, please let me know and I can
>>> >> >> > figure
>>> >> >> > out
>>> >> >> > if
>>> >> >> > I'm looking at it wrong.
>>> >> >> >
>>> >> >> >
>>> >> >> > On Wed, Aug 29, 2012 at 8:35 AM, Jesse McConnell
>>> >> >> > <jesse.mcconnell@xxxxxxxxx>
>>> >> >> > wrote:
>>> >> >> >>
>>> >> >> >> there is interest, if you can sort out what is going on with the
>>> >> >> >> tycho
>>> >> >> >> build that is seeming to pull old releases into what should be
>>> >> >> >> the
>>> >> >> >> latest releases that would be grand :)
>>> >> >> >>
>>> >> >> >> --
>>> >> >> >> jesse mcconnell
>>> >> >> >> jesse.mcconnell@xxxxxxxxx
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> On Wed, Aug 29, 2012 at 8:01 AM, Craig Ching
>>> >> >> >> <craigching@xxxxxxxxx>
>>> >> >> >> wrote:
>>> >> >> >> > Any interest in fixing this?  I can always build my own p2
>>> >> >> >> > repositories,
>>> >> >> >> > but
>>> >> >> >> > this would be much more convenient.  Just looking for a little
>>> >> >> >> > direction
>>> >> >> >> > on
>>> >> >> >> > how I can help.
>>> >> >> >> >
>>> >> >> >> > Cheers,
>>> >> >> >> > Craig
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > On Sun, Aug 26, 2012 at 7:47 AM, Craig Ching
>>> >> >> >> > <craigching@xxxxxxxxx>
>>> >> >> >> > wrote:
>>> >> >> >> >>
>>> >> >> >> >> Starting a new thread just about the subject.
>>> >> >> >> >>
>>> >> >> >> >> I'm in the eclipse target platform editor.  When I go to add
>>> >> >> >> >> "Jetty
>>> >> >> >> >> 8.1.4
>>> >> >> >> >> -
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >> http://download.eclipse.org/jetty/updates/jetty-bundles-8.x/8.1.4.v20120524"
>>> >> >> >> >> as a software site to my target platform, the reported
>>> >> >> >> >> version
>>> >> >> >> >> for
>>> >> >> >> >> "Jetty -
>>> >> >> >> >> Bundles: all the jetty bundles" is 8.1.4.  When I change the
>>> >> >> >> >> url
>>> >> >> >> >> to
>>> >> >> >> >> "Jetty
>>> >> >> >> >> 8.1.5 -
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >>
>>> >> >> >> >> http://download.eclipse.org/jetty/updates/jetty-bundles-8.x/8.1.5.v20120716",
>>> >> >> >> >> the reported version is "8.1.3.201207172019".
>>> >> >> >> >>
>>> >> >> >> >> Does that look right?  It's the only difference I can see
>>> >> >> >> >> between
>>> >> >> >> >> the
>>> >> >> >> >> 8.1.4 repo vs. the 8.1.5 repo and my tycho build works with
>>> >> >> >> >> the
>>> >> >> >> >> 8.1.4
>>> >> >> >> >> P2
>>> >> >> >> >> repo.
>>> >> >> >> >>
>>> >> >> >> >> Cheers,
>>> >> >> >> >> Craig
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> >
>>> >> >> >> > _______________________________________________
>>> >> >> >> > jetty-users mailing list
>>> >> >> >> > jetty-users@xxxxxxxxxxx
>>> >> >> >> > https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> >> >> >> >
>>> >> >> >> _______________________________________________
>>> >> >> >> jetty-users mailing list
>>> >> >> >> jetty-users@xxxxxxxxxxx
>>> >> >> >> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >> > _______________________________________________
>>> >> >> > jetty-users mailing list
>>> >> >> > jetty-users@xxxxxxxxxxx
>>> >> >> > https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> >> >> >
>>> >> >> _______________________________________________
>>> >> >> jetty-users mailing list
>>> >> >> jetty-users@xxxxxxxxxxx
>>> >> >> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> >> >
>>> >> >
>>> >> >
>>> >> > _______________________________________________
>>> >> > jetty-users mailing list
>>> >> > jetty-users@xxxxxxxxxxx
>>> >> > https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> >> >
>>> >> _______________________________________________
>>> >> jetty-users mailing list
>>> >> jetty-users@xxxxxxxxxxx
>>> >> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > jetty-users mailing list
>>> > jetty-users@xxxxxxxxxxx
>>> > https://dev.eclipse.org/mailman/listinfo/jetty-users
>>> >
>>> _______________________________________________
>>> jetty-users mailing list
>>> jetty-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>>
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top