Name Date Size

.. 2013-05-16 00:04:18 62

AclEntryImpl.java 2013-05-16 00:04:18 8 KiB

AclImpl.java 2013-05-16 00:04:18 10.4 KiB

ASCII_CharStream.java 2013-05-16 00:04:18 10.3 KiB

ASCII_CharStream.README 2013-05-16 00:04:18 419

GroupImpl.java 2013-05-16 00:04:18 4.2 KiB

Host.java 2013-05-16 00:04:18 6.1 KiB

JDMAccess.java 2013-05-16 00:04:18 2.1 KiB

JDMAclBlock.java 2013-05-16 00:04:18 1.9 KiB

JDMAclItem.java 2013-05-16 00:04:18 1.8 KiB

JDMCommunities.java 2013-05-16 00:04:18 1.8 KiB

JDMCommunity.java 2013-05-16 00:04:18 1.7 KiB

JDMEnterprise.java 2013-05-16 00:04:18 1.6 KiB

JDMHost.java 2013-05-16 00:04:18 1.6 KiB

JDMHostInform.java 2013-05-16 00:04:18 1.7 KiB

JDMHostName.java 2013-05-16 00:04:18 2 KiB

JDMHostTrap.java 2013-05-16 00:04:18 1.6 KiB

JDMInformBlock.java 2013-05-16 00:04:18 2 KiB

JDMInformCommunity.java 2013-05-16 00:04:18 1.8 KiB

JDMInformInterestedHost.java 2013-05-16 00:04:18 1.7 KiB

JDMInformItem.java 2013-05-16 00:04:18 1.7 KiB

JDMIpAddress.java 2013-05-16 00:04:18 2 KiB

JDMIpMask.java 2013-05-16 00:04:18 2 KiB

JDMIpV6Address.java 2013-05-16 00:04:18 1.5 KiB

JDMManagers.java 2013-05-16 00:04:18 1.6 KiB

JDMNetMask.java 2013-05-16 00:04:18 2 KiB

JDMNetMaskV6.java 2013-05-16 00:04:18 1.7 KiB

JDMSecurityDefs.java 2013-05-16 00:04:18 1.6 KiB

JDMTrapBlock.java 2013-05-16 00:04:18 1.9 KiB

JDMTrapCommunity.java 2013-05-16 00:04:18 1.7 KiB

JDMTrapInterestedHost.java 2013-05-16 00:04:18 1.7 KiB

JDMTrapItem.java 2013-05-16 00:04:18 1.7 KiB

JDMTrapNum.java 2013-05-16 00:04:18 1.6 KiB

JJTParserState.java 2013-05-16 00:04:18 4.3 KiB

NetMaskImpl.java 2013-05-16 00:04:18 9.6 KiB

Node.java 2013-05-16 00:04:18 2.2 KiB

OwnerImpl.java 2013-05-16 00:04:18 4.5 KiB

package.html 2013-05-16 00:04:18 1.3 KiB

ParseError.java 2013-05-16 00:04:18 1.5 KiB

ParseException.java 2013-05-16 00:04:18 7.5 KiB

Parser.java 2013-05-16 00:04:18 34.8 KiB

Parser.jj 2013-05-16 00:04:18 20.3 KiB

Parser.jjt 2013-05-16 00:04:18 6.1 KiB

ParserConstants.java 2013-05-16 00:04:18 2.7 KiB

ParserTokenManager.java 2013-05-16 00:04:18 45.5 KiB

ParserTreeConstants.java 2013-05-16 00:04:18 2.6 KiB

PermissionImpl.java 2013-05-16 00:04:18 2.5 KiB

PrincipalImpl.java 2013-05-16 00:04:18 4.5 KiB

README.update 2013-05-16 00:04:18 876

SimpleNode.java 2013-05-16 00:04:18 4.7 KiB

SnmpAcl.java 2013-05-16 00:04:18 17.5 KiB

Token.java 2013-05-16 00:04:18 3.8 KiB

TokenMgrError.java 2013-05-16 00:04:18 5.4 KiB

ASCII_CharStream.README

WARNING : ASCII_CharStream.java must be PATCHED.
The following methods should be removed after javacc generation.
The goal is to simplify 100%-pure testing (see bug 4127719).
/**
* @deprecated
* @see #getEndColumn
*/
public final int getColumn() {
return bufcolumn[bufpos];
}
/**
* @deprecated
* @see #getEndLine
*/
public final int getLine() {
return bufline[bufpos];
}

README.update

1)Copy Parser.jjt in a dedicated directory.
2) Grammar modificatiobns:
Grammar located in file Parser.jjt :
3) Command :
/usr/lang/JAVA/JavaCC_2.0/bin/jjtree Parser.jjt
/usr/lang/JAVA/JavaCC_2.0/bin/javacc Parser.jj
4) Files to copy back in IPAcl directory:
If you added new node (eg :IpV6Address()) copy the JDM file (eg:JDMIpV6Address.java)
In any cases copy back (These files must be checkedout in IPAcl directory):
ASCII_CharStream.java
JJTParserState.java
ParseException.java
Parser.java
ParserConstants.java
ParserTokenManager.java
ParserTreeConstants.java
TokenMgrError.java
5) You need to modify any JDM files you copied back. Lauch the compilation and you will see what is wrong.
Have a look to similar nodes in order to see how to modify. Some protected methods have to be overloaded.
6) Once your updates are running, copy back:
Parser.jj
Parser.jjt
7) DONE.