Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

artifactLinkPublisher - Does it work with RTC client?

Hi,
I want to publish a link to a directory using artifactLinkPublisher.
It works fine on the WI (Web Interface), but on the RTC client it does not work as I expect:
If I open a link to an html file - I get it as plain text.
If I open a link to a directory - I get the list of files in it (like dir command).

Is this RTC behavoir, or am I missing something?

Thanks,
Hagit.

0 votes



5 answers

Permanent link
Hi,
I want to publish a link to a directory using artifactLinkPublisher.
It works fine on the WI (Web Interface), but on the RTC client it does not work as I expect:
If I open a link to an html file - I get it as plain text.
If I open a link to a directory - I get the list of files in it (like dir command).

Is this RTC behavoir, or am I missing something?

Thanks,
Hagit.


Hi Hagit,

Can you provide a little more details on how exactly you are publishing a link to a directory? Is this a directory that is normally accessible through a URL? or is this a directory on the build machine or a directory on the RTC Eclipse client that is opening the build result?

How does it look on the web if it works?

What are you expecting in these two situations?
1. If I open a link to an html file - I get it as plain text.
2. If I open a link to a directory - I get the list of files in it (like dir command).

If you are not expecting the html file to open as plane text, could it have to do with the Eclipse Preferences --> General -->Web Browser (perhaps Eclipse is set to open it up as text?)

0 votes


Permanent link
Hi,
I'd like to use the jbe -createPasswordFile command in a script.
My script treats changing a password, and do some more things with it.
I'd like to ask the user for the password once, and use it a few times...
In addition, I'd like the password not to be seen on the screen while the user is typing.

I wish I could give the new password to the command as a parameter, like the path to the password file.

I didn't see documentation about this option, and giving the new password at the end of the command does not work.

Any idea?

Thanks
Hagit Segev.

0 votes


Permanent link
Hi,
I want to publish a link to a directory using artifactLinkPublisher.
It works fine on the WI (Web Interface), but on the RTC client it does not work as I expect:
If I open a link to an html file - I get it as plain text.
If I open a link to a directory - I get the list of files in it (like dir command).

Is this RTC behavoir, or am I missing something?

Thanks,
Hagit.


Hi Hagit,

Can you provide a little more details on how exactly you are publishing a link to a directory? Is this a directory that is normally accessible through a URL? or is this a directory on the build machine or a directory on the RTC Eclipse client that is opening the build result?

How does it look on the web if it works?

What are you expecting in these two situations?
1. If I open a link to an html file - I get it as plain text.
2. If I open a link to a directory - I get the list of files in it (like dir command).

If you are not expecting the html file to open as plane text, could it have to do with the Eclipse Preferences --> General -->Web Browser (perhaps Eclipse is set to open it up as text?)

0 votes


Permanent link
In addition, I'd like the password not to be seen on the screen while the user is typing.

Sorry, there is currently no way to change this. This is intended to be a one time interactive operation. We simply read from the default input stream (ex: from a console) to get the password and then save it in an obfuscated form in a file of your choosing.

I wish I could give the new password to the command as a parameter
I created a work item for you that you can subscribe to and add comments describing your use case in more detail.

https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/168808

0 votes


Permanent link
I'm experiencing the same thing (windows environment) -- I want to use artifactLinkPublisher to open a directory:

\\share\path\to\build\images

<artifactLinkPublisher repositoryAddress="${repositoryAddress}"
                                   userId="${userId}"
                                   password="${password}"
                                   buildResultUUID="${buildResultUUID}"
                                   url="file:\\share\buildVol1\build\buildName\${major}_${minor}\${version}\"
                                   label="Build Images/Artifacts"/>

The web client opens a window to the directory so I can grab the contents of the directory. The RTC client says malformed URL if I don't precede the url with 'file:' With file:\\share\dir\, it just opens a tab with the contents as text, and no way to download the contents.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 23 '10, 7:47 a.m.

Question was seen: 4,908 times

Last updated: Sep 20 '13, 12:19 p.m.

Confirmation Cancel Confirm