[SNMP4J] AgentPro warning: Object ${o.name} not found
olivier rivat
olivier.rivat at gmail.com
Mon Jun 23 22:55:05 CEST 2008
Hi,
I am trying to use Agentpro to generate SNMP4J files.
Unfortunately the java file generated corresponding to XXMib is a
merely empty skeleton.
Example:
public void registerMOs(MOServer server, OctetString context)
throws DuplicateRegistrationException
{
// Scalar Objects
//--AgentGen BEGIN=_registerMOs
//--AgentGen END
}
I have noticed during the project generation that the log file contain some
warnings, which seems
to relate to the pb mentioned above. Unfortunatelly I haven't haven't found
yet any pointer about
AgentPro warning message and hows to fix it.
Regards,
Olivier
+++++++ (Log file extract)+++++++++++++++
Using OUTPUT filename: ..\snmp4j\src\SnmpFrameworkMib.java
2008-06-23 22:03:14:281 WARN Generator Input directory not set for
filename SnmpFrameworkMib.java
2008-06-23 22:03:14:375 WARN Generator Object ${o.name} not found,
ignoring it
2008-06-23 22:03:14:375 DEBUG Generator Generating code for context
'XXMib': XX-MIB.${o.name}
More information about the SNMP4J
mailing list