You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by "Hiller, Dean (Contractor)" <de...@broadridge.com> on 2011/01/18 17:32:29 UTC

running into error with ${project_loc}

I am running into this issue on startup BUT with Ivy...

 

http://blog.samratdhillon.com/archives/473

 

I naturally don't want to use ${project_loc:<projectname>} as one poster
suggested since many people check out 2 versions(one being on the
production branch and one on the latest).  Checking out 2 versions
requires 2 different names(and both may not match what I specify in my
workspace).

 

I was reading through the variable list of choices.  Is there any other
choice than ${project_loc} that might work so the ivy_settings file can
be found on startup and we won't get those errors?

 

OR is there a way to turn off IvyDE from trying to resolve dependencies
on startup on per project basis so colleagues inherit my changes and
stop seeing the error?

 

I should have asked a while ago but I guess I finally got annoyed enough
that I keep getting the error and others asking about it as well.

 

Thanks,

Dean


This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


Re: running into error with ${project_loc}

Posted by Tim Brown <tp...@gmail.com>.
On Jan 18, 2011, at 8:34 AM, "Hiller, Dean  (Contractor)"
<dean.hiller@broadridge.com
 > wrote:

> I am running into this issue on startup BUT with Ivy...
>
>
>
> http://blog.samratdhillon.com/archives/473
>
>
>
> I naturally don't want to use ${project_loc:<projectname>} as one
> poster
> suggested since many people check out 2 versions(one being on the
> production branch and one on the latest).  Checking out 2 versions
> requires 2 different names(and both may not match what I specify in my
> workspace).

Having two versions/releases on the same workspace sounds like a smell
to me.

Wouldn't you have two workspaces - each at a specific release?


> I was reading through the variable list of choices.  Is there any
> other
> choice than ${project_loc} that might work so the ivy_settings file
> can
> be found on startup and we won't get those errors?

I've usually used workspace_loc and a universal module (_build in our
case) that's on all workspaces.



> OR is there a way to turn off IvyDE from trying to resolve
> dependencies
> on startup on per project basis so colleagues inherit my changes and
> stop seeing the error?

I don't believe so, but I'm not behind my machine now and can't dbl
check.


Hth,

~T




>
>
>
> I should have asked a while ago but I guess I finally got annoyed
> enough
> that I keep getting the error and others asking about it as well.
>
>
>
> Thanks,
>
> Dean
>
>
> This message and any attachments are intended only for the use of
> the addressee and
> may contain information that is privileged and confidential. If the
> reader of the
> message is not the intended recipient or an authorized
> representative of the
> intended recipient, you are hereby notified that any dissemination
> of this
> communication is strictly prohibited. If you have received this
> communication in
> error, please notify us immediately by e-mail and delete the message
> and any
> attachments from your system.
>

Re: running into error with ${project_loc}

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Le 18 janv. 2011 à 17:32, Hiller, Dean (Contractor) a écrit :

> I am running into this issue on startup BUT with Ivy...
> 
> 
> 
> http://blog.samratdhillon.com/archives/473
> 
> 
> 
> I naturally don't want to use ${project_loc:<projectname>} as one poster
> suggested since many people check out 2 versions(one being on the
> production branch and one on the latest).  Checking out 2 versions
> requires 2 different names(and both may not match what I specify in my
> workspace).
> 
> 
> 
> I was reading through the variable list of choices.  Is there any other
> choice than ${project_loc} that might work so the ivy_settings file can
> be found on startup and we won't get those errors?
> 
> 
> 
> OR is there a way to turn off IvyDE from trying to resolve dependencies
> on startup on per project basis so colleagues inherit my changes and
> stop seeing the error?

This is a known error in using that Eclipse variable. This variable is not well suited for the use in IvyDE without specifying a project name. IvyDE cannot do much about it as it is part of the Eclipse API.

A workaround has been implemented for the next release:
https://issues.apache.org/jira/browse/IVYDE-247
This IvyDE specific variable ${ivyproject_loc} will do what you exactly want.

Nicolas