Re: [Aglets-users] Urgent-Aglets help required (Please)
Status: Beta
Brought to you by:
cat4hire
From: shruti n. <shr...@gm...> - 2012-03-09 11:41:10
|
Thank you so much Thomas for the reply. I will try fixing the errors by declaring the variables, but I have to ask in which class do I define the variables? ProtectionDialog.java? or PlainAgletPermission.java? Kind Reagrds On Fri, Mar 9, 2012 at 6:43 AM, Thomas Herlea < max...@us...> wrote: > Dear, > > You must be using version 2.0.2 to get those errors or a repository > version from before 2010-07-12... Back then I used the following > workaround: I declared those fields as static final int and gave them > values based on the array ACTIONS. This might get you over your short > term problem the quickest. > > However, it would be best if you got the sources with Git, like I have > explained in my previous message. SourceForge explains it here: > http://sourceforge.net/scm/?type=git&group_id=7905. At least like > that, the fixes to any errors you encounter will be integrated into > the cutting edge. > > Thomas > > > On Wed, Mar 7, 2012 at 17:02, Thomas Herlea > <max...@us...> wrote: > > Dear Shruti Nagani, > > > > I was not able to reproduce your problem. > > > > From what you wrote I understood that you got the error while you were > > trying to recompile the Aglets platform. I tried to do that, too: > > 1, Get the source tree: > > git clone git://aglets.git.sourceforge.net/gitroot/aglets/aglets > > 2. Enter the location of the sources > > cd aglets/src > > 3. Fine-tune the classpath (I'm trying it on Unix) > > export CLASSPATH="$CLASSPATH; > > 4. Build the sources: > > ant > > > > I get lots of warnings, but no compile error. What are your steps from > scratch? > > > > Thomas > > > > > > On Mon, Mar 5, 2012 at 14:22, shruti nagani <shr...@gm...> > wrote: > >> Hi, > >> > >> I have to develop my own agents and hence, I downloaded and created an > >> aglets project. I have a lot of compile time error in ActionPanel.java, > all > >> the same that it cannot resolve variables NUMBER_OF_ACTIONS, > >> INDEX_DISPATCH, INDEX_DEACTIVATE, INDEX_DISPOSE, INDEX_CLONE, > >> INDEX_RETRACT, they all have been used as ProtectionDialog.VARIABLE, but > >> when I go to the ProtectionDialog class they are not there. Can someone > >> please help me with this, there are almost 9 same errors in the > ActionPanel > >> class, were these variables there in ProtectionDomain in the first > place? > >> or they weren't? They are in PlainAgletPermission.java, should I change > >> their reference?How to I get past these errors. I have been struggling > with > >> these for over a month now and need help desperately. I will be so > grateful > >> if someone can help me with it. > >> > >> Also, how do i build new mobile agents? I think for that I'll have to > >> resolve these errors. > >> > >> Thanks a lot! > >> > >> -- > >> Shruti Nagani > >> > ------------------------------------------------------------------------------ > >> Try before you buy = See our experts in action! > >> The most comprehensive online learning library for Microsoft developers > >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > >> Metro Style Apps, more. Free future releases when you subscribe now! > >> http://p.sf.net/sfu/learndevnow-dev2 > >> _______________________________________________ > >> Aglets-users mailing list > >> Agl...@li... > >> https://lists.sourceforge.net/lists/listinfo/aglets-users > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Aglets-users mailing list > Agl...@li... > https://lists.sourceforge.net/lists/listinfo/aglets-users > -- Shruti Nagani |