deepak carter

Ranch Hand
+ Follow
since Feb 19, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 deepak carter

I have written a code to generate the cache.properties file using

this is my code



The code was working fine absolutely ok but my requirement got changed then i switched the property to updtae cahce.properties to false after then its not updating neither generating the new cache.properties

I have checked earlier post also which state that its a bug it was fixed in ant 1.8 however its not working in ant 1.8

Requires Help
10 years ago
I am writing a simple script in ant



However its throwing an exception that D:\CMS\CMSDevTools\shortcuts\AntSplit\analysis_tool\build.xml:129: Class org.apa
che.tools.ant.filters.TokenFilter doesn't support the nested "uniqfilter" element.


Need help
10 years ago
I have two csv file master and modified

master have three cell 1.FileName 2 File MD5 value 3 #

modified 1 File Name 2 its md5 value

I have two check if modified.csv file name exists in master then swap the two md5 value of each file and write it to master.csv.master.csv contains around 6435 rows so it should only modify a particular row

this is what i have written and its nowt working.


The problem here is its not modying the master.csv file with the swapped value and i am trying to get the file last modified time and change it with #
10 years ago
How to get the name of modified file using ant...I have a set of files each time if it get modifies then how to get the names
10 years ago

I am using this script to calculate the md5 of files



Is there any way to get the name of the file which got modified I mean whose md5 dont match ??
10 years ago
I am working to develop a script.In a project there is a folder which contains files which i need to which whether they got modified or not so and its need to be done using md5 ad ant so request you let me know how can it can be done using md5 and ant
10 years ago
Yes I think so...(apologies) The lines which are getting executed have to make entries with the database.
11 years ago
If i am registering a person it makes multiple enteries to different table approx 90 tables....however the frameework is designed in such a way that if there is an exception then all the transactions should rolled back nothing should go in the table...but i require that one piece of code should get executed no matter what the exception is thrown or not
11 years ago
No the exception is getting thrown the transaction is getting rolled back so whatever is written in line 2 is getting rolledback....i dont how but its doing that...i have debugged the application and seen and for the same scenario i have written the JUNIt and its getting failed because of this
11 years ago
sorry not in the DB sense in the in the java whatever i have wriiten in line2 gets executed even though there is an exception in line 3...can it be achieved
11 years ago
Hi

Suppose there is a piece of code

class
{
line 1;

line 2

line 3

}


Now Suppose there is exceptiopn in line 3.I can catch the exception but how to commit which ever is already excuted i mean suppose there is a task which i am creating in the line 2 i want that to commit even though there is a exception in line 3....

how to do it.
11 years ago
Why there is this kind of requirement because-the list will act as cache where it will hold some kind kind of numbers say for example account number which a particular user can access.The access depends on this list.If the number is on the list for that user that means the user can access the record for that number.
11 years ago
Hi

thanks for the reply...what my requirement state that for every user that log in in there should be a list for that user.It will act like a cache.

I have to use core java as i am not using servlet
11 years ago
Hi,

I was creating a arraylist.here is the code



the code is working fine...however what I require is if I run the code second time it doesn't create a new list but return the same list which was created earlier...is it possible
11 years ago
Hi

I have written a small piece of code in servlet.

If i am writing s small progrma for example just to print my name and run it its working fine.No i changed the name which i want to print its showing me the previous name. I know that when i make changes in servlet i have to restart the tomcat an i am doing it.so can you help me why its doing this and how to resolve it.