Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPF » Missing images
Missing images [message #47115] Mon, 28 January 2008 14:42 Go to next message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

I'm facing quite curious issue rigth now, I don't know how to move on,
does it sound familiar to anyone?

My published configuration doesn't include some of images. I have checked
rights, all log files, I don't understand. Publishing finished without any
error.

I'm using command line interface; I used CruiseControl on windows to invoke
publishing and it worked fine; I have moved to linux and Jazz and now I face
the issue described above.

I would be very happy if any idea.

Roman
Re: Missing images [message #47142 is a reply to message #47115] Mon, 28 January 2008 18:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: storaskar.xx.xxx.xxx

which images do you have issue with ? Diagram images or icon images ?

Shilpa
Re: Missing images [message #47197 is a reply to message #47142] Tue, 29 January 2008 09:54 Go to previous messageGo to next message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi Shilpa.

I mean icon images, static images, e.g.
openup\customcategories\resources\three_layers.jpg, screenshots included in
toolmentors, etc.

Can you point me to a class/component responsible for image/icon handling?

Roman

"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:49bc605a599b6279d11f56effc2f658f$1@www.eclipse.org...
> which images do you have issue with ? Diagram images or icon images ?
>
> Shilpa
>
Re: Missing images [message #47223 is a reply to message #47197] Tue, 29 January 2008 10:13 Go to previous messageGo to next message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
News: First I thought there might be an issue with rights or a name of the
images (*.gif vs *.GIF). However, I have published the config using GUI &
cmd line (outside building engine) and I get proper count of images. Which
probably means there is something wrong with the integration with Jazz
building; however, I don't know what and even how to investigate what...

Roman


"Roman Smirak" <roman.smirak@tietoenator.com> wrote in message
news:fnmt5j$eo3$1@build.eclipse.org...
> Hi Shilpa.
>
> I mean icon images, static images, e.g.
> openup\customcategories\resources\three_layers.jpg, screenshots included
> in toolmentors, etc.
>
> Can you point me to a class/component responsible for image/icon handling?
>
> Roman
>
> "Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
> news:49bc605a599b6279d11f56effc2f658f$1@www.eclipse.org...
>> which images do you have issue with ? Diagram images or icon images ?
>>
>> Shilpa
>>
>
>
Re: Missing images [message #47281 is a reply to message #47223] Tue, 29 January 2008 19:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: storaskar.xx.xxx.xxx

Looks like all images/icons are getting published and copied to correct
folder for you. I would start by taking a look source html on published
pages and see whether the path to images are correct or not, whether those
images exist or not.
If path is wrong or if image is missing then i can start going into EPF
source code to see.

Also, give it a try for Windows/Jazz & Linux/Eclipse combo and try to nail
down whether it's Jazz or Linux or something else :)

--
Shilpa
Re: Missing images [message #47411 is a reply to message #47281] Wed, 30 January 2008 07:54 Go to previous messageGo to next message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

I have changed my ant definition from a process execution:
<exec executable="${dir.epf.composer}/epf">

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-data ${dir.data}" />

<arg line="-nosplash" />

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-libraryPath ${dir.checkout}" />

<arg line="-publishPath ${dir.epf.publish}" />

<arg line="-config TE-RUP_Agile" />

<arg line="-feedback mailto:te.rup@tietoenator.com" />

<arg line="-glossary" />

<arg line="-index" />

<arg line="-publishUnverifiedDiagrams" />

<arg line="-title TE-RUP_Agile" />

<arg line="-vmargs -Xms64m -Xmx512m" />

</exec>

To java:
<java dir="${dir.epf.composer}"
jar=" ${dir.epf.composer}/plugins/org.eclipse.equinox.launcher_1.0 .0.v20070606.jar "
fork="true" maxmemory="512m" logError="true">

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-ws gtk" />

<arg line="-data ${dir.data}" />

<arg line="-nosplash" />

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-libraryPath ${dir.checkout}" />

<arg line="-publishPath ${dir.epf.publish}" />

<arg line="-config TE-RUP_Agile" />

<arg line="-feedback mailto:te.rup@tietoenator.com" />

<arg line="-glossary" />

<arg line="-index" />

<arg line="-publishUnverifiedDiagrams" />

<arg line="-title TE-RUP_Agile" />

<classpath>

<pathelement
location=" ${dir.epf.composer}/plugins/org.eclipse.equinox.launcher_1.0 .0.v20070606.jar "
/>

</classpath>

</java>

And now - big surprise - it works! All the pictures are in place. Actually,
the idea behind the change: I have noticed eclipse was refreshing workspace
every time it started; which sounded like problem with process; so I tried
to change it (bug in OS/Java?)...

Anyway, it works I have to move on...

However, I have found 2 picture issues (warning log + they are still missing
in the published config):
Warning: Guideline:req_gathering_techniques: missing resource file
'./../../../openup/guidances/guidelines/resources/Workshop.G IF'
Warning: RoleSet:openup_roles: missing resource file
'./../../openup/rolesets/./resources/OpenUp1_350.jpg'

Have you noticed same problem? I expect GIF or capital letters might be
problem (the references in source xmi?)

Regards,

Roman

"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:a1c63d4302177a45eb589565681f1702$1@www.eclipse.org...
> Which EPF did you download ? If you are using latest EPF build 1.2.0.1 you
> need JRE 1.5.
> Please follow the instructions given here
>
> http://www.eclipse.org/epf/downloads/tool/tool_downloads.php
>
> --
> Shilpa
>


"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:0bfe89ba1477a1af67fd981d29032f78$1@www.eclipse.org...
> Looks like all images/icons are getting published and copied to correct
> folder for you. I would start by taking a look source html on published
> pages and see whether the path to images are correct or not, whether those
> images exist or not. If path is wrong or if image is missing then i can
> start going into EPF source code to see.
> Also, give it a try for Windows/Jazz & Linux/Eclipse combo and try to nail
> down whether it's Jazz or Linux or something else :)
>
> --
> Shilpa
>
Re: Missing images [message #47472 is a reply to message #47411] Wed, 30 January 2008 18:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: storaskar.xx.xxx.xxx

For linux, file names are case-sensitive. So we would have to change
references in data files correctly.

I didn't quite get whether you are using our OpenUp from CVS or your own
process. If it's openup, please file a bug against "content" component
for those 2 image references.

Regards,

Shilpa
Re: Missing images [message #47502 is a reply to message #47472] Wed, 30 January 2008 19:13 Go to previous messageGo to next message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

it is OpenUP. I'll submit a bug.

Regards,

Roman


"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:df8a2292097f57dbb74c97da86a57596$1@www.eclipse.org...
> For linux, file names are case-sensitive. So we would have to change
> references in data files correctly.
>
> I didn't quite get whether you are using our OpenUp from CVS or your own
> process. If it's openup, please file a bug against "content" component
> for those 2 image references.
>
> Regards,
>
> Shilpa
>
Re: Missing images [message #47532 is a reply to message #47502] Wed, 30 January 2008 19:55 Go to previous messageGo to next message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
FYI - https://bugs.eclipse.org/bugs/show_bug.cgi?id=217147

Roman

"Roman Smirak" <roman.smirak@tietoenator.com> wrote in message
news:fnqi86$26u$1@build.eclipse.org...
> Hi,
>
> it is OpenUP. I'll submit a bug.
>
> Regards,
>
> Roman
>
>
> "Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
> news:df8a2292097f57dbb74c97da86a57596$1@www.eclipse.org...
>> For linux, file names are case-sensitive. So we would have to change
>> references in data files correctly.
>>
>> I didn't quite get whether you are using our OpenUp from CVS or your own
>> process. If it's openup, please file a bug against "content" component
>> for those 2 image references.
>>
>> Regards,
>>
>> Shilpa
>>
>
>
Re: Missing images [message #48652 is a reply to message #47115] Sun, 09 March 2008 00:57 Go to previous message
David Hadley is currently offline David HadleyFriend
Messages: 4
Registered: July 2009
Junior Member
Roman Smirak wrote:
> Hi,
>
> I'm facing quite curious issue rigth now, I don't know how to move on,
> does it sound familiar to anyone?
>
> My published configuration doesn't include some of images. I have checked
> rights, all log files, I don't understand. Publishing finished without any
> error.
>
> I'm using command line interface; I used CruiseControl on windows to invoke
> publishing and it worked fine; I have moved to linux and Jazz and now I face
> the issue described above.
>
> I would be very happy if any idea.
>
> Roman
>
>
I had similar issues where some diagrams were publishing and some where
not - sometimes within the same capability pattern. Everything looked
great in browser mode, but some images did not pull through when published.

I determined that the file names were too long for the operating system
(XP). I found when I look in:

~/published_folder/"plug-in"/capabilitypatterns/resources

and verify that file names for all the images are recognized by the OS
this enabled all the images to be published. Depending on how
they are used, process file names get appended with things like:
"really_long_process_name_8CA0D7A6_62b8111a_Activity".

I renamed the culprit activities and capability patterns with shorter
names and all the images published.

David Hadley
Re: Missing images [message #586236 is a reply to message #47115] Mon, 28 January 2008 18:08 Go to previous message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 102
Registered: July 2009
Senior Member
which images do you have issue with ? Diagram images or icon images ?

Shilpa
Re: Missing images [message #586264 is a reply to message #47142] Tue, 29 January 2008 09:54 Go to previous message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi Shilpa.

I mean icon images, static images, e.g.
openup\customcategories\resources\three_layers.jpg, screenshots included in
toolmentors, etc.

Can you point me to a class/component responsible for image/icon handling?

Roman

"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:49bc605a599b6279d11f56effc2f658f$1@www.eclipse.org...
> which images do you have issue with ? Diagram images or icon images ?
>
> Shilpa
>
Re: Missing images [message #586277 is a reply to message #47197] Tue, 29 January 2008 10:13 Go to previous message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
News: First I thought there might be an issue with rights or a name of the
images (*.gif vs *.GIF). However, I have published the config using GUI &
cmd line (outside building engine) and I get proper count of images. Which
probably means there is something wrong with the integration with Jazz
building; however, I don't know what and even how to investigate what...

Roman


"Roman Smirak" <roman.smirak@tietoenator.com> wrote in message
news:fnmt5j$eo3$1@build.eclipse.org...
> Hi Shilpa.
>
> I mean icon images, static images, e.g.
> openup\customcategories\resources\three_layers.jpg, screenshots included
> in toolmentors, etc.
>
> Can you point me to a class/component responsible for image/icon handling?
>
> Roman
>
> "Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
> news:49bc605a599b6279d11f56effc2f658f$1@www.eclipse.org...
>> which images do you have issue with ? Diagram images or icon images ?
>>
>> Shilpa
>>
>
>
Re: Missing images [message #586308 is a reply to message #47223] Tue, 29 January 2008 19:16 Go to previous message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 102
Registered: July 2009
Senior Member
Looks like all images/icons are getting published and copied to correct
folder for you. I would start by taking a look source html on published
pages and see whether the path to images are correct or not, whether those
images exist or not.
If path is wrong or if image is missing then i can start going into EPF
source code to see.

Also, give it a try for Windows/Jazz & Linux/Eclipse combo and try to nail
down whether it's Jazz or Linux or something else :)

--
Shilpa
Re: Missing images [message #586375 is a reply to message #47281] Wed, 30 January 2008 07:54 Go to previous message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

I have changed my ant definition from a process execution:
<exec executable="${dir.epf.composer}/epf">

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-data ${dir.data}" />

<arg line="-nosplash" />

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-libraryPath ${dir.checkout}" />

<arg line="-publishPath ${dir.epf.publish}" />

<arg line="-config TE-RUP_Agile" />

<arg line="-feedback mailto:te.rup@tietoenator.com" />

<arg line="-glossary" />

<arg line="-index" />

<arg line="-publishUnverifiedDiagrams" />

<arg line="-title TE-RUP_Agile" />

<arg line="-vmargs -Xms64m -Xmx512m" />

</exec>

To java:
<java dir="${dir.epf.composer}"
jar=" ${dir.epf.composer}/plugins/org.eclipse.equinox.launcher_1.0 .0.v20070606.jar "
fork="true" maxmemory="512m" logError="true">

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-ws gtk" />

<arg line="-data ${dir.data}" />

<arg line="-nosplash" />

<arg line="-application org.eclipse.epf.publishing.cmdline.Publish" />

<arg line="-libraryPath ${dir.checkout}" />

<arg line="-publishPath ${dir.epf.publish}" />

<arg line="-config TE-RUP_Agile" />

<arg line="-feedback mailto:te.rup@tietoenator.com" />

<arg line="-glossary" />

<arg line="-index" />

<arg line="-publishUnverifiedDiagrams" />

<arg line="-title TE-RUP_Agile" />

<classpath>

<pathelement
location=" ${dir.epf.composer}/plugins/org.eclipse.equinox.launcher_1.0 .0.v20070606.jar "
/>

</classpath>

</java>

And now - big surprise - it works! All the pictures are in place. Actually,
the idea behind the change: I have noticed eclipse was refreshing workspace
every time it started; which sounded like problem with process; so I tried
to change it (bug in OS/Java?)...

Anyway, it works I have to move on...

However, I have found 2 picture issues (warning log + they are still missing
in the published config):
Warning: Guideline:req_gathering_techniques: missing resource file
'./../../../openup/guidances/guidelines/resources/Workshop.G IF'
Warning: RoleSet:openup_roles: missing resource file
'./../../openup/rolesets/./resources/OpenUp1_350.jpg'

Have you noticed same problem? I expect GIF or capital letters might be
problem (the references in source xmi?)

Regards,

Roman

"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:a1c63d4302177a45eb589565681f1702$1@www.eclipse.org...
> Which EPF did you download ? If you are using latest EPF build 1.2.0.1 you
> need JRE 1.5.
> Please follow the instructions given here
>
> http://www.eclipse.org/epf/downloads/tool/tool_downloads.php
>
> --
> Shilpa
>


"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:0bfe89ba1477a1af67fd981d29032f78$1@www.eclipse.org...
> Looks like all images/icons are getting published and copied to correct
> folder for you. I would start by taking a look source html on published
> pages and see whether the path to images are correct or not, whether those
> images exist or not. If path is wrong or if image is missing then i can
> start going into EPF source code to see.
> Also, give it a try for Windows/Jazz & Linux/Eclipse combo and try to nail
> down whether it's Jazz or Linux or something else :)
>
> --
> Shilpa
>
Re: Missing images [message #588271 is a reply to message #47411] Wed, 30 January 2008 18:07 Go to previous message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 102
Registered: July 2009
Senior Member
For linux, file names are case-sensitive. So we would have to change
references in data files correctly.

I didn't quite get whether you are using our OpenUp from CVS or your own
process. If it's openup, please file a bug against "content" component
for those 2 image references.

Regards,

Shilpa
Re: Missing images [message #588279 is a reply to message #47472] Wed, 30 January 2008 19:13 Go to previous message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

it is OpenUP. I'll submit a bug.

Regards,

Roman


"Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
news:df8a2292097f57dbb74c97da86a57596$1@www.eclipse.org...
> For linux, file names are case-sensitive. So we would have to change
> references in data files correctly.
>
> I didn't quite get whether you are using our OpenUp from CVS or your own
> process. If it's openup, please file a bug against "content" component
> for those 2 image references.
>
> Regards,
>
> Shilpa
>
Re: Missing images [message #588288 is a reply to message #47502] Wed, 30 January 2008 19:55 Go to previous message
Roman Smirak is currently offline Roman SmirakFriend
Messages: 136
Registered: July 2009
Senior Member
FYI - https://bugs.eclipse.org/bugs/show_bug.cgi?id=217147

Roman

"Roman Smirak" <roman.smirak@tietoenator.com> wrote in message
news:fnqi86$26u$1@build.eclipse.org...
> Hi,
>
> it is OpenUP. I'll submit a bug.
>
> Regards,
>
> Roman
>
>
> "Shilpa Toraskar" <storaskar@xx.xxx.xxx> wrote in message
> news:df8a2292097f57dbb74c97da86a57596$1@www.eclipse.org...
>> For linux, file names are case-sensitive. So we would have to change
>> references in data files correctly.
>>
>> I didn't quite get whether you are using our OpenUp from CVS or your own
>> process. If it's openup, please file a bug against "content" component
>> for those 2 image references.
>>
>> Regards,
>>
>> Shilpa
>>
>
>
Re: Missing images [message #588622 is a reply to message #47115] Sun, 09 March 2008 00:57 Go to previous message
David Hadley is currently offline David HadleyFriend
Messages: 4
Registered: July 2009
Junior Member
Roman Smirak wrote:
> Hi,
>
> I'm facing quite curious issue rigth now, I don't know how to move on,
> does it sound familiar to anyone?
>
> My published configuration doesn't include some of images. I have checked
> rights, all log files, I don't understand. Publishing finished without any
> error.
>
> I'm using command line interface; I used CruiseControl on windows to invoke
> publishing and it worked fine; I have moved to linux and Jazz and now I face
> the issue described above.
>
> I would be very happy if any idea.
>
> Roman
>
>
I had similar issues where some diagrams were publishing and some where
not - sometimes within the same capability pattern. Everything looked
great in browser mode, but some images did not pull through when published.

I determined that the file names were too long for the operating system
(XP). I found when I look in:

~/published_folder/"plug-in"/capabilitypatterns/resources

and verify that file names for all the images are recognized by the OS
this enabled all the images to be published. Depending on how
they are used, process file names get appended with things like:
"really_long_process_name_8CA0D7A6_62b8111a_Activity".

I renamed the culprit activities and capability patterns with shorter
names and all the images published.

David Hadley
Previous Topic:Creating new fields
Next Topic:Collaboration between EPF and ORMF
Goto Forum:
  


Current Time: Mon Dec 09 02:11:16 GMT 2024

Powered by FUDForum. Page generated in 0.05868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top