The sample code for the Google Client API pages has been updated. It now uses the names of the new Google Client PHP API release and also switched from object – reference to arrays. Finally the source code is available … Continue reading
Tag Archives: programming
Eclipse: Change general to Java project
Problem: Migrate a Eclipse general project to a Eclipse Java project
You have a Eclipse project, which contains Java code – but you didn’t set it up as a Java project when you created or checked out this project. So since Eclipse doesn’t allow you to change the project type inside the Gui, you are stucked.
Solution: add the java nature
- Close your project.
- Open your project file (which is located in your root directory of the appropriate project) called .project with your default editor. Search for
<natures>
</natures>
and change it to
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
Save the changed file. - Open the project again – now it’s a java project.
cvs trick: use local repository
Problem: setup cvs to use a local repository
You have a local repository – in a folder on your local disk or mounted network disk – and you would like to check out from this.
Solution
Setup your CVSROOT environment
export CVSROOT=:local:/path/to/your/cvs_root
where /path/to/your/cvs_root is the path to your local cvs repository.
Checkout from local repository
cvs co MyProjectName
where you have to substitute MyProjectName with the real name.
PHP
PHP-related resources, tipps and tricks!