-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Do 14 Nov 2013 07:16:37 CET schrieb oreddy:
> Sorry, it is just a lib import issue in the java file.
>
> On 14/11/2013 12:18 PM, oreddy wrote:
>> Hi All,
>>
>> I am trying to create a new configuration file to store poe-switches
>> info and use it to configure from web. I followed the document at
>> this
>> http://www.opennms.org/wiki/Creating_a_xmp_collector#Creating_XSD_Parsers
>> <createconfig>
>>
>> I have created a new xsd file called poe-switch-configuration.xsd and
>> placed it in opennms-config/main/src/castor/xsd and compiled the
>> opennms-config project. I saw the generated resources and classes for
>> all the objects as per the xsd. The classes generated are
>> Poeswitch
>> Poeswitches
>> Poeswitchinfo
>> Portmap. With their respective descriptors.
>>
>> Now I wrote a factory class called PoeSwitchConfigFactory to load and
>> save configuration and placed at
>> opennms-services\src\main\java\org\opennms\netmgt\config\
>>
>> I tried to build the opennm-services project then it cannot find the
>> classes which are generated by opennm-config castor. Some errors are
>> as follows.
>>
>> [ERROR]
>> /home/dj/code/onms/svn-nms/158bnms/branches/opennms-services/src/main/java/org/opennms/netmgt/config/PoeSwitchConfigFactory.java:[95,29]
>> cannot find symbol
>> symbol  : variable ConfigFileConstants
>> location: class org.opennms.netmgt.config.PoeSwitchConfigFactory
>>
>> *--This one I edited org.opennms.netmgt.ConfigFileConstants at
>> opennms-config-utils to list my Poe-Switch-Configuration.xml file.*
>>
>> [ERROR]
>> /home/dj/code/onms/svn-nms/158bnms/branches/opennms-services/src/main/java/org/opennms/netmgt/config/PoeSwitchConfigFactory.java:[54,104]
>> cannot find symbol
>> symbol  : class ValidationException
>> location: class org.opennms.netmgt.config.PoeSwitchConfigFactory
>>
>> --This one seems to be the casto validation exception which
>>
>>
>> These errors looks like the opennms-services project never able to
>> find its dependencies like the opennms-castor, opennms-config
>> mentioned in pom.xml which have all the links.
>>
>> how should I resolve this issue ??
>>
>> Cheers,
>> Reddy.
>>
>
>
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-devel mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this 
> page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel

Hey Reddy,

is it working now?
If your fork of the code base is at github, it's not very hard for us
to have a look.

cu

Tak
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJShK4rAAoJEJFt8t3uH6b9G7EIAIW9Temw5WpmWVnEH36avJhO
VJI/VSrJ+Rg1jc1s7CNuGEWnwqf9FDH1Xq6HTwkw9pValEuVrw7yUC938FxxnnQ9
Ptzpt2y2Hmjq+3Momt4tz5I7vajhcbcrnhcDBe5um3cl8Rnz39Efz4jsrUY4/sDw
aiyJfCjCiXibkIWBGB+tTB+rlFSZDBz9LebgLw3egGARTOy6NFhNYC6tY8nGSwBE
EIzGsUJZQ2uqyXLSXUX7Kz/JjgLUQ/An+IpaPzz97qhBaUgbKAh3iDQkhc6ZyDhH
rb/8ANkvqOsVYWGyYcDr5bUM9O9PGPBookOWcmQDEewisj/3y6QlbwCPIEvkTTI=
=riYc
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to