Monday, March 24, 2008

How to get files for a specific label in VSS

Turns out it's pretty easy to get all files under certain label in VSS:

- Open VSS, Select the right SourceSafe Database, and navigate to the tree you want to Get Latest.
- Right click at the item, select [Show History ...]
- In "Project History Options", make sure "Include Labels", "Labels only" are checked.
- Select the version you want to check out.
- Click [Get]
- In "Get ...." dialog box, Make sure you check the checkbox "Recursive"

You Should then get the whole tree with the right label.

Tuesday, March 18, 2008

Running JUnit with Android SDK

I got some minor problem with Android SDK trying to run Junit test on it. Eventually I found the answer by following the last post in this forum message:

------------- start ----------------
Project-Properties > Java Build Path > Libraries > Android Library -->
Shows:
"com.android.ide.eclipse.adt.project.AndroidClasspathContainerInitializer"
Delete it, then:
Add external JARs... > Select latest SDK-Folde
-----------end-----------------------

It totally worked. Awesome.

Sunday, March 16, 2008

Just did a finished an Android tutorial, but oh man

I tried Android SDK yesteday, and it's nice to see that the new Android phone has some potential. But I was stuck when I tried to write my first HelloWorld application. The application couldn't be registered to the device and thus couldn't be ran. I was frustrated for a while until came across this post. It turns out that a package name has to have a dot. So I did and now my first hello world app is running fine.