kirrran kir

Greenhorn
+ Follow
since Aug 05, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kirrran kir

Hi Jeanne,
thanks for the reply.
Just one more question, if i am not wrong these ant-contrib "if" tasks(from sourceforge) are not among those that are getting deprecated right?

thanks
17 years ago
Hi
Any help is appreciated.

My ant file is the one bundled up with Eclipse platform, eclipse-SDK-3.2-win32\eclipse\plugins\org.apache.ant_1.6.5\lib

I am using weblogic 9.2 distribution.

When i run build.xml, the error is as follows:

BUILD FAILED
javax.xml.parsers.FactoryConfigurationError: Provider weblogic.xml.jaxp.RegistrySAXParserFactory could not be instantiated: java.lang.NullPointerException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.tools.ant.Diagnostics.getSAXParser(Diagnostics.java:168)
at org.apache.tools.ant.Diagnostics.getXmlParserName(Diagnostics.java:153)
at org.apache.tools.ant.Diagnostics.doReportParserInfo(Diagnostics.java:367)
at org.apache.tools.ant.Diagnostics.doReport(Diagnostics.java:253)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.processCommandLine(InternalAntRunner.java:749)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:366)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

thanks
17 years ago
thank you.
17 years ago
Hi
Any help is appreciated.
The ant build is failing with this msg: Could not create task or type of type: if.
I am using this in the build.xml
<if name="ind" value="true">
<echo>Executing Damn Fisr</echo>
</if>

i have ant-junit.jar in the ant's build path. Also(hoping that the If taskdefs are present) i placed all the jars that come with the ant 1.6 distribution in the build path. But no use.
thanks in advance
17 years ago
Hi
Any help is appreciated.
if i use ant build.xml test-build
where test-build will be a target in my build file. Is it possible to know during the runtime the target argument passed? i want to use ant if tasks based on the target provided as the argument to ant.
thanks
17 years ago
Hi
Any help is appreciated.

In my eclipse project, i have classes/ folder in the classpath. When i add xyz.xml, say inside classes/nextlevel/xyz.xml, the following java code returns null
InputStream is2 = Test.class
.getResourceAsStream("/classes/nextlevel/xyz.xml");

How can i instruct the classloader to find this resource xyz.xml by traversing down the class path rather than on the first level.

thanks
17 years ago
Hi

Any help is appreciated.

is it possible to override the switches provided to the jvm programmatically?
Eg., if jvm is started like this

java -Xms64m myprog, then is it possible to set the "Xms" value inside my java program during run-time.

thanks
17 years ago