Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!

Ravee Bhat

Ranch Hand
+ Follow
since Nov 26, 1999
Ravee likes ...
Eclipse IDE Firefox Browser Ubuntu
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 Ravee Bhat

ah yes! Thanks Tim .. a good rtfm could have saved so many ...

the only reason I need to use a FileSet is to have a filter for copying only those files which were modified in last nn minutes from now!
Will have to find another way to do it..

10 years ago
thanks Tim.

I noticed that, used the correct form as well.

but in my issue what I meant was,
even if use

it throws me an error saying


Which i think its complaining about the 'todir' and 'file' attributes! One of them missing in correct form rather!
And i am trying to provide them elsewhere, down in the fileset!
10 years ago
Thanks for reply Tim.

Sorry, probably I was not clear with my problem.
The issue is I am not able to use "#{user.name}:${password}@${hostname}" in the fileset. Even if I try directly put these values there, it throws following error
"'todir' and 'file' attributes must have syntax like the following: user:password@host:/path"

10 years ago
hi All

Currently my need is to have certain files copied from remote host to my localhost. The ant scp task i am running is on localhost. So I am trying to extend this example (given in scp task page)

to


"remotehostinfo" above is actually where i want to specify "user:password@remotehost". But am not sure how to achieve this? Can someone throw more light on this, please?

Am using ant 1.6.5 and jdk 1.5

thanks in advance
Ravee
10 years ago
Hi All
I am reading certain XML string from a application. This XML string has certain special characters in prologue.
I have no idea how this XML string is created and don't have control to modify at the source either.
Now when I to parse this XML, there is obvious exception for the content in prologue?
Has any one faced this problem anytime? Is it a good idea to put a 'cleanup' filter before parsing?

thanks in advance
Ravee
All
here is a situation where I need to start a thread and keep checking for update in DataBase. I need to start this thread when my Application Server starts (Oracle 9iAS 9.0.2 Rel 2. typically).

I am not sure if this creating and running my own threads in AS runtime environment is a good idea or not. Please guide me. There must be a better way for this, I guess!! What are the side effects that I need to watchout for?

thanks in advance,
16 years ago
thanks Jeanne, shall try that.
In the meantime I did a lil experiment with the classpath in the website properties of my application in my OC4J instance. Added d:\propDir to the classpath and put my property file in that directory. And when print 'System.getProperties()' i can see all the properties from my property file loaded into this. Is this the way it works?

Another query is , if I put the property file in my WEB-INF/classes directory , in my opinion I should be able to say ClassLoader.getSystemResource(...) load that resource (my property file) from the classpath? Is this correct?

thanks again,
16 years ago
Hi All
I am using a Oracle 9iAS Rel 2 on a windows box. My web application needs couple of property files when it starts up. What configuration is required for 9iAS to read property files?

thanks in advance
Ravee
16 years ago
Hi All
say you met an alien* on your morning walk and asks you "989 89899023023 ^^ 8378300"**
which one would you suggest?
** gimme one good book about you aliens and earth and everything.
* does not matter male or female, who knows they might have more choices than we do
Ravee.
17 years ago
declare your ResultSet as transient.
you will have to take care of the restoration work after all the servlet-applet communication.
17 years ago
Nothing standard in my organization. Personally I use eclipse. Very good, one of the best things about eclipse is the plug-ins.
Has anyone used pramati studio? People here are contemplating on purchasing it.
[ March 30, 2003: Message edited by: Ravee Bhat ]

I know having the flower brackets around vector declaration does'nt make any sense.(or does it?! in some particular case!!). Anyway the aVector is not visible inside aMethod. How does one describe this behaviour?
18 years ago
Specifying path to the respective executables (i.e. java.exe) should do it.
Hope this helps.
18 years ago
Thanks A lot Roseanne, your guess is correct.
Now I have got it working using Apache Xerces.
http://www.ibiblio.org/xml/books/xmljava/chapters/ch13.html
thanks and regards
Ravee.
Hi All
I have parsed a .xml file using DOM (sun's JDK 1.4.1) and added few more attributes to the nodes there.
Is it possible to retrieve a .xml file from the Document I have created with the new attributes?
If yes, how? If no, whats the best alterantive to do that?
thanks and regards
Ravee.