Advertisement

09.17.2008 at 08:26AM PDT, ID: 23738986 | Points: 250
[x]
Attachment Details

How to set jacorb.properties in the classpath?

Asked by peterjim in Java Application Servers, Java Programming Language, Apache Web Server

How to set jacorb.properties in the classpath?
I have set the jacorb.properties as following:
<junit errorProperty="test.failed" failureProperty="test.failed">
           <classpath>
              <fileset dir="${jacorb.dir}" includes="*.properties"/>
              <path refid="classpath"/>
              <pathelement location="${test.classes.dir}"/>
          </classpath>
  ...
</junit>


But it still can't find the jacorb.properties and got the following message:

#####################################################################
WARNING: no properties file found! This warning can be ignored
for applets. A file file called "jacorb.properties" or
".jacorb_properties" should be present in the classpath,
the home directory (C:\Documents and Settings\xzhou), the current directory (.) or
in Javas lib directory (C:\Program Files\Java\jdk1.6.0_03\jre)
#####################################################################

<junit errorProperty="test.failed" failureProperty="test.failed">
           <classpath>
              <fileset dir="${jacorb.dir}" includes="*.properties"/>
              <path refid="classpath"/>
              <pathelement location="${test.classes.dir}"/>
          </classpath>
  ...
</junit>Start Free Trial
 
Loading Advertisement...
 
[+][-]10.14.2008 at 12:24AM PDT, ID: 22709204

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628