Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Target URI is not well formed
Target URI is not well formed [message #1795378] Fri, 21 September 2018 06:24 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 204
Registered: July 2009
Senior Member
Hi all,
I want to use a *.target file for my setup. This file is placed under an own project. Now I want to use it in the setup file, but the setup editor complaints that the URI is not well formed. I've used a variable for resolving the path, like so:
${git.clone.myproject.location|uri}/myproject/MyProject-Parent/org.myproject.target/org.myproject.target.target

Can't I use the variable or should I write this in another form?

TIA,
Ralf.
Re: Target URI is not well formed [message #1795383 is a reply to message #1795378] Fri, 21 September 2018 07:17 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30465
Registered: July 2009
Senior Member
The file
https://bitbucket.org/fakturamadev/fakturama-2/raw/develop/Fakturama-Parent/com.sebulli.fakturama.rcp/project/Fakturama2GIT.setup currently contains:
    <annotation
<<<<<<< HEAD
        source="${git.clone.fakturama2.location|uri}/fakturama-2/Fakturama-Parent/org.fakturama.target/org.fakturama.target.target"/>
=======
        source="${git.clone.fakturama2.location}/fakturama-2/Fakturama-Parent/org.fakturama.target/org.fakturama.target.target"/>
>>>>>>> branch 'develop' of https://rheydenr@bitbucket.org/fakturamadev/fakturama-2.git
    <description>Fakturama Target Plattform</description>

I'm not sure it can even be parsed as XML at this point.

The name of the target in a TargetPlatformTask should be exactly the name of the file, without the .target extension.
Re: Target URI is not well formed [message #1795386 is a reply to message #1795383] Fri, 21 September 2018 08:19 Go to previous messageGo to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 204
Registered: July 2009
Senior Member
Hi Ed, many thanks. I'd corrected the file locally and didn't upload it, therefore there were some merge mistakes in it. I'll try to correct the name.

But the error with the URI still remains...

Regards,
Ralf.

[Updated on: Fri, 21 September 2018 08:23]

Report message to a moderator

Re: Target URI is not well formed [message #1795391 is a reply to message #1795386] Fri, 21 September 2018 09:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30465
Registered: July 2009
Senior Member
"The error in the URI" doen't give me enough information. I need to see a picture or some error message with enough context to know what you're referring to.
Re: Target URI is not well formed [message #1795393 is a reply to message #1795391] Fri, 21 September 2018 09:26 Go to previous messageGo to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 204
Registered: July 2009
Senior Member
Sorry, I forgot to create a screenshot...
Re: Target URI is not well formed [message #1795396 is a reply to message #1795393] Fri, 21 September 2018 10:13 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30465
Registered: July 2009
Senior Member
I see. The literal value that's there in the Annotation's source is of course validated before there is any variable evaluation. And in fact no variable evaluation ever happens at authoring time. So this will not be useful information to anyone ever and for is it appropriate use of an Annotation. Better you use the description property to describe the purpose of the task and here also don't use variables because no one looking at at the description will see the variables evaluated/expanded. If you want to describe where the target file is located, just use a workspace relative path in the description so that someone can find it in their workspace...
Previous Topic:Specified default installation path
Next Topic:Stream is unresolved
Goto Forum:
  


Current Time: Mon Sep 23 08:53:51 GMT 2019

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

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

Back to the top