Re: [Aglets-users] Urgent-Aglets help required (Please)
Status: Beta
Brought to you by:
cat4hire
From: Thomas H. <max...@us...> - 2012-03-10 15:05:09
|
Since those variables do not exist any more in the current source code, adding them will only affect you. If you don't have any clear preference, just add them to the place suggested by the existing code. I don't have the code in front of me, but I seem to remember that they are given as ProtectionDialog.INDEX_... That suggests that if you add them as fields of ProtectionDialog you don't have to change other code. Maybe actually the minimal change would be to replace the variable references with the appropriate numeric constants: 6, 1, 2, 3, 4... Thomas On Fri, Mar 9, 2012 at 12:40, shruti nagani <shr...@gm...> wrote: > 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 > ------------------------------------------------------------------------------ > 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 |