开发者

Eclipse: how to introduce variables in .target and .launch files

开发者 https://www.devze.com 2023-01-12 00:36 出处:网络
Right now we have .target and .launch files in eclipse that point to specific hard-coded locations.How do I introduce new variables and assign them in eclipse, variables that are local to each develop

Right now we have .target and .launch files in eclipse that point to specific hard-coded locations. How do I introduce new variables and assign them in eclipse, variables that are local to each developer.

Here is an example. I want to set up a projectlocation variable, but don't know where to set it:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="OSGI-installed"&g开发者_StackOverflowt;
<locations>
<location path="${projectlocation}\trunk\CACHE\junit4.TransformedRepo" type="Directory"/>
<location path="${projectlocation}\trunk\CACHE\mokito.repo" type="Directory"/>
<location path="${projectlocation}\trunk\CACHE\p2EDARepo" type="Directory"/>
<location path="${projectlocation}\trunk\CACHE\p2BundlesRepo" type="Directory"/>
</target>


Go to this setting: windows/preferences/Run/Debug/String Substitutions and add in your variables such as ${variableName}

0

精彩评论

暂无评论...
验证码 换一张
取 消