Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dash-dev] Using promote.xml to publish from build.eclipse to download.eclipse (was Re: EMF Query2 Update Site)

Your promote.xml can be put in your home dir or wherever you'd like.
It then calls the generic one, which is located here:

/shared/cbi/build/org.eclipse.dash.common.releng/promote.xml

There are instructions in that file for calling that script from your
own promote.xml in
/shared/cbi/build/org.eclipse.dash.common.releng/promote-wrapper.xml.

Regarding the error about "Unable to locate tools.jar. Expected to
find it in /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/lib/tools.jar", see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=331496#c4

HTH,

Nick


On Wed, Nov 17, 2010 at 2:39 AM, Ashwani Sharma <ashw.kumar@xxxxxxxxx> wrote:
> Hi Nick,
> I am able to connect build.eclipse.org with a real shell now (Got permission
> from webmasters). But i am not able to find the promote.xml file there. I
> tried following two commands. Both of them reports similar errors:
> Where can i find the promote.xml on server ? I don't have permission to
> access some files and hence not able to find it.
> 1) Command:
> /opt/public/common/apache-ant-1.7.1/bin/ant -f
> /opt/buildhomes/hudsonBuild/.hudson/jobs/cbi-emf-query2-0.7/workspace/build/org.eclipse.query2.releng/promote.xml
> -Dpromote.properties=/opt/buildhomes/hudsonbuild/.hudson/jobs/cbi-emf-query2-0.7/workspace/build/org.eclipse.query2.releng/promote.properties
> Error:
> Unable to locate tools.jar. Expected to find it in
> /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/lib/tools.jar
> Buildfile:
> /opt/buildhomes/hudsonBuild/.hudson/jobs/cbi-emf-query2-0.7/workspace/build/org.eclipse.query2.releng/promote.xml
> does not exist!
> Build failed
>
> 2) Command:
> /opt/public/common/apache-ant-1.7.1/bin/ant -f
> /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-query2-0.7/workspace/build/org.eclipse.query2.releng/promote.xml
> -Dpromote.properties=/opt/users/hudsonbuild/.hudson/jobs/cbi-emf-query2-0.7/workspace/build/org.eclipse.query2.releng/promote.properties
> Error:
> Unable to locate tools.jar. Expected to find it in
> /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/lib/tools.jar
> Buildfile:
> /opt/users/hudsonbuild/.hudson/jobs/cbi-emf-query2-0.7/workspace/build/org.eclipse.query2.releng/promote.xml
> does not exist!
> Build failed
> Regards,
> Ashwani Kr Sharma
>
> On Mon, Nov 15, 2010 at 8:37 PM, Sharma, Ashwani Kr
> <ashwani.kr.sharma@xxxxxxx> wrote:
>>
>> Hi Nick,
>>
>>        After some reading I found that I can use putty to connect.
>>        I have progress now. But still some issues:
>>                1) If I login to proxy.eclipse.org using port 443. Console
>> opens. I am able to login using my commiter user\pwd. But as soon as I enter
>> a command, the client shuts down.
>>                2) If I login to build.eclipse.org using port 22. Console
>> opens, but my committer user\pwd does not work
>>                3) If I login to build.eclipse.org using port 443,
>> connection is refused.
>>
>>        How should I fix this ? How should I connect ?
>>
>> Regards,
>> Ashwani Kr Sharma
>>
>> -----Original Message-----
>> From: Sharma, Ashwani Kr
>> Sent: Monday, November 15, 2010 1:49 PM
>> To: 'Nick Boldt'; Ashwani Sharma
>> Cc: Wayne Beaton; Sarkar, Saurav
>> Subject: RE: EMF Query2 Update Site
>>
>> Hi Nick,
>>
>> I have not seen
>> http://wiki.eclipse.org/Common_Build_Infrastructure/Publishing before. It
>> mentions following:
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------
>> Next, ssh to build.eclipse.org using your committer id and type crontab -e
>> to create crontab entries which match the frequency of your N and I builds.
>> In this example, the latest Nightly VE build will be published every day at
>> 15h40 EST. The latest Integration will be published every Tuesday at 16h00
>> EST. Note that the promote.xml is identical, but the properties file differs
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> What does it mean to ssh to build.eclipse.org ? How can I do it ?
>> Do I need use hudson.eclipse.org instead build.eclipse.org ?
>>
>> Regards,
>> Ashwani Kr Sharma
>>
>> -----Original Message-----
>> From: Nick Boldt [mailto:nickboldt@xxxxxxxxx]
>> Sent: Monday, November 15, 2010 9:11 AM
>> To: Ashwani Sharma
>> Cc: Wayne Beaton; Sarkar, Saurav; Sharma, Ashwani Kr
>> Subject: Re: EMF Query2 Update Site
>>
>> Promote log will be wherever you write it to when you call promote.xml
>> [0].
>>
>> [0] http://wiki.eclipse.org/Common_Build_Infrastructure/Publishing
>>
>> Downloads page [1] will be updated if the file structure is consistent
>> with path expectations - your assumption below is correct. I see only
>> one build there right now - N200910281211. Is that the build you
>> promoted?
>>
>> [1] http://www.eclipse.org/modeling/emf/downloads/?project=query2
>>
>> Nick
>>
>> On Wed, Nov 10, 2010 at 10:07 PM, Ashwani Sharma <ashw.kumar@xxxxxxxxx>
>> wrote:
>> > Hi Nick,
>> >
>> > In promote.properties, i have mentioned this for target for update site:
>> >
>> > targetZipsDir=/home/data/httpd/download.eclipse.org/modeling/emf/query2/downloads/drops/2.0.0
>> > Is it correct ?
>> >
>> > Where can i check for promote log ? The build logs are available here:
>> > https://hudson.eclipse.org/hudson/job/cbi-emf-query2-0.7/
>> >
>> > I was expecting that the page
>> > http://www.eclipse.org/modeling/emf/downloads/?project=query2 will get
>> > updated automatically, is it correct ?
>> >
>> > Thanks and Regards,
>> > Ashwani Kr Sharma
>> > PS: I am new to these production setups and trying my best to
>> > understand it quickly. So there can be some stupid questions from my
>> > side.
>> >
>> > On 11/10/10, Nick Boldt <nickboldt@xxxxxxxxx> wrote:
>> >> Where are you publishing the update site? Is it named such that the
>> >> page's expected filename convention is respected? Does the promote log
>> >> show any errors, permission problems, etc.?
>> >>
>> >> I see no attachments. Please reattach or provide links / pastebin URLs.
>> >>
>> >> Thanks,
>> >>
>> >> Nick
>> >>
>> >> On Mon, Nov 8, 2010 at 10:15 AM, Wayne Beaton <wayne@xxxxxxxxxxx>
>> >> wrote:
>> >>> Any ideas, Nick?
>> >>>
>> >>> Wayne
>> >>>
>> >>> Ashwani Sharma wrote:
>> >>>> Hi,
>> >>>>
>> >>>> I am a commiter for EMF Query2 project. We are facing an issue that
>> >>>> latest Query2 update site is not available here:
>> >>>> http://www.eclipse.org/modeling/emf/downloads/?project=query2
>> >>>> The query2 releng is set already using Athena and it is getting build
>> >>>> here: https://hudson.eclipse.org/hudson/job/cbi-emf-query2-0.7/
>> >>>>
>> >>>> I had set the promote.xml and promote.properties files correctly.
>> >>>> AFAIK. [See attachments]
>> >>>> But still the page is not getting updated. I think even the results
>> >>>> are also not availaible centrally.
>> >>>>
>> >>>> How can we make it work ?
>> >>>>
>> >>>> Thanks and Regards,
>> >>>> Ashwani Kr Sharma
>> >>>>
>> >>>
>> >>> --
>> >>> Wayne Beaton, The Eclipse Foundation
>> >>> http://www.eclipse.org
>> >>> --
>> >>> Join me at Eclipse Summit Europe 2010!
>> >>> http://eclipsesummit.org/
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Nick Boldt :: JBoss by Red Hat
>> >> Productization Lead :: JBoss Tools & Dev Studio
>> >> Release Engineer :: Dash Athena
>> >> http://nick.divbyzero.com
>> >>
>> >
>>
>>
>>
>> --
>> Nick Boldt :: JBoss by Red Hat
>> Productization Lead :: JBoss Tools & Dev Studio
>> Release Engineer :: Dash Athena
>> http://nick.divbyzero.com
>
>



-- 
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
Release Engineer :: Dash Athena
http://nick.divbyzero.com


Back to the top