OpenDDS Java Binding Developer Guide Example error

Following the OpenDDS Developer’s Guide – Chapter 11 I ran into an error like this: Using …/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg CIAO_ROOT was used in the configuration file, but was not defined. Generating ‘gnuace’ output using default input Skipping Foo (Foo.mpc), it requires java. Generation Time: 1s I have solved following the suggestion from a post on sourceforge tracker […]

Eclipse Access Restriction Error

When in Eclipse you have an error like: “Access restriction: The constructor AppletAudioClip(URL) is not accessible due to restriction on required library C:\Programmi\Java\jdk1.6.0_24\jre\lib\rt.jar” You simply need to follow these steps to avoid compilation error: Click on the Properties of your project Go to Java Compiler–>Errors/Warnings search for “Deprecated and Restricted API” and set to warning […]

Enable keywords substitution using Eclipse and Subversion (SVN)

To enable keywords substitution as I usually have with the CVS, you just need to enable a svn properties on the Eclipse project configuration. These are the steps to activate the svn-keyword-substitution feature in Eclipse: Install Subclipse into your Eclipse application Right-mouse-click on your project folder, and choose Team => Set Property from the popup […]

Java – Single Application Instance

If you want to prevent the user from running multiple copies of your Java application here are two approaches I could suggest you: 1) You can verify if a busy file exist. If one exists, abort. If not create one.  The process to test and create the file can be developed in the script file […]