file handling using agents

View: New views
2 Messages — Rating Filter:   Alert me  

file handling using agents

by jady007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi

i am a new user of JADE .i want my jade-agents to perform normal file handling operations like accessing a file ,reading and writing to it .. th eproblem is that when ever i m compiling th eagents some exceptions are flashed by the compiler ... someone kindly post the exact code for file handling using agents..

thanx

Re: file handling using agents

by Γιώργος Βαλκανάς :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There is no "exact code for file handling using agents".. File handling is a java issue, either you use agents or not, and there are a lot of good examples on the web for file manipulation. Since the errors are created at compile-time (as you state) and not at run-time, I'd recommend you take a look at those examples first..

You should provide the code you use for handling files, how you compile the program, or at least the exceptions that are thrown by the compiler, for anyone to be able to help you in the best way possible. Guessing errors is hardly the best way to solve anything (or to make suggestions)..

Is it a classpath issue? Is it a "missing try-catch" error? Is it undeclared variables?

Please elaborate on the errors you get a bit more (i.e. copy-paste the exceptions) so that people can help solve the problem.

Cheers,
George


On Wed, Jul 16, 2008 at 8:05 AM, jady007 <deyash@...> wrote:

hi

i am a new user of JADE .i want my jade-agents to perform normal file
handling operations like accessing a file ,reading and writing to it .. th
eproblem is that when ever i m compiling th eagents some exceptions are
flashed by the compiler ... someone kindly post the exact code for file
handling using agents..

thanx
--
View this message in context: http://www.nabble.com/file-handling-using-agents-tp18480316p18480316.html
Sent from the JADE - Dev mailing list archive at Nabble.com.

_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm


_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm