Results 1 to 6 of 6

Hybrid View

  1. #1
    Trying to build the RSS News Reader Demo. According to the readme at https://github.com/Lightstreamer/Lig...S-adapter-java in the lib section the instructions are This folder should contain all the library files needed to compile the RSS Demo Adapter. Please drop here the:


    log4j-1.2.17.jar from Apache log4j;
    ls-adapter-interface.jar from the /lib folder of latest Lightstreamer distribution;
    informa.jar form the News Aggregation Library for Java download;
    jdom.jar form the the News Aggregation Library for Java download;
    commons-logging.jar file from Apache commons.


    Under the "Build" instructions the same files are reiterated, followed by the 'generalized' compilation instructions, specifically:
    >javac -source 1.7 -target 1.7 -nowarn -g -classpath lib/log4j-1.2.17.jar;lib/ls-adapter-interface/ls-adapter-interface.jar;lib/informa.jar;lib/jdom.jar -sourcepath src/src_feed -d tmp_classes src/src_feed/rss_demo/rss_reader/RSSReaderProvider.java


    >jar cvf LS_rss_data_adapter.jar -C tmp_classes src_feed


    >javac -source 1.7 -target 1.7 -nowarn -g -classpath lib/log4j-1.2.17.jar;lib/ls-adapter-interface/ls-adapter-interface.jar;LS_rss_reader.jar -sourcepath src/src_adapter -d tmp_classes src/src_adapter/rss_demo/adapters/RSSDataAdapter.java


    >jar cvf LS_rss_data_adapter.jar -C tmp_classes src_adapter


    >javac -source 1.7 -target 1.7 -nowarn -g -classpath lib/log4j-1.2.17.jar;lib/ls-adapter-interface/ls-adapter-interface.jar;LS_rss_data_adapter.jar -sourcepath src/src_metadata -d tmp_classes src/src_metadata/rss_demo/adapters/RSSMetadataAdapter.java


    >jar cvf LS_rss_metadata_adapter.jar -C tmp_classes src_metadata


    When trying to compile I get multiple errors like this one: RSSReaderProvider.java:38: error: package com.l
    ightstreamer.interfaces.data does not exist
    import com.lightstreamer.interfaces.data.DataProviderExce ption;


    Where can I find the packages needed for compiling?

  2. #2
    Power Member
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    161
    Hi Giacomo,

    we have found some issue on our documentation on Github. We have promptly fixed it, so please have a look at the updated version here ("Build" section).

    With regard to the compilation problem, please make sure to put the ls-adapters-interface.jar file into lib/ls-adapter-interface folder.

    Thanks and Regards.
    Gianluca

 

 

Similar Threads

  1. Java import - package does not exist
    By UweF in forum General
    Replies: 4
    Last Post: March 2nd, 2016, 05:58 AM
  2. Replies: 20
    Last Post: January 15th, 2015, 11:52 AM
  3. Data adapter init error
    By khalil78 in forum Adapter SDKs
    Replies: 3
    Last Post: March 28th, 2008, 02:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 05:33 AM.