On Thu, Apr 30, 2009 at 9:09 AM, Daniel Cheng <j16sdiz+freenet at gmail.com> 
wrote:
> commit 099709083ffc922ab2398bee1d920276ee454c36
> Date: ? Wed Apr 29 20:54:29 2009 +0200
>>
>> ? ? Fix ant builder:
>> ? ? - The project is called "fred-staging" nowadays
>> ? ? - The build.xml looks for "skip_testS" not "skip-test". Eclipse still 
>> runs
>> ? ? the tests for me though, does anyone have an idea why?
>>
>
> [...]
>
>> -<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" 
>> value="${workspace_loc:/Freenet 0.7/build.xml}"/>
>> +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value=""/>
>
> [...]
>
> If you check the check the ".project" file, you can see the project
> name is still "Freenet 0.7".
> When sb get a tarball of the project, import it to eclipse using
> "Import Project From Existing Directory"(?),
> he will get a project named "Freenet 0.7".
>
> If you really want to change this, change the ".project" file too.
> (and all .classpath files in all plugins, it is referenced there)
>

I meant this hunk, sorry for confusion:

| -<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
value="${workspace_loc:/Freenet 0.7/build.xml}"/>
| +<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value=""/>
| +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
value="${workspace_loc:/fred-staging/build.xml}"/>


Another comment:

I would keep the "-staging" suffix from the build file when possible.
You can rename the directory so it don't have this suffix.

If you ever want to have both -official / -staging in the same
workspace, do this:
   1)  checkout from -staging, just as you have done

   2)  rename the directory, remove the suffix.

   3)  add a new remote, you need the command line
          git remote add   official   <the official pul url>

   4) in eclipse, right click the project -> team -> pull from ... ->
choose the official repo
       --> "add all branch spec", "add all tags spec"

   5) now you get the official repo as a branch in  right click the
project -> team -> branch ...

Reply via email to