Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1192

ant "bigdata-client" does not bundle the openrdf remote classes

    Details

      Description

      The following command is used to build the client jar, which is less than 8MB.

      ant bigdata-client
      

      However, the definition of the ant target does not include the com.bigdata.rdf.sail.remote package, which is where the openrdf wrappers for our native REST APIs live.

      See BLZG-1191 (BigdataSailFactory must be moved to the client package)
      See BLZG-1187 (BigdataSailFactory.connect() doesn't support load balancing end-point)

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        The fix is to build.xml:

        Old:

           <target name="bigdata-client" depends="clean, prepare, jar"  
                 description="Prepare the bigdata web access client library.">
                 <java jar="src/build/autojar/autojar.jar" fork="true" failonerror="true">
                    <arg line="-o ${build.dir}/${client-version}.jar
                       -c ${build.dir}/${version}.jar
                        -v
                       --
                       com.bigdata.rdf.sail.webapp.client.*.class
                       com.bigdata.rdf.properties.*.class
                       com.bigdata.rdf.properties.text.*.class
                       com.bigdata.rdf.properties.xml.*.class
                       " />
                 </java>
            </target>}}}
        
        New
        {{{
           <target name="bigdata-client" depends="clean, prepare, jar"  
                 description="Prepare the bigdata web access client library.">
                 <java jar="src/build/autojar/autojar.jar" fork="true" failonerror="true">
                    <arg line="-o ${build.dir}/${client-version}.jar
                       -c ${build.dir}/${version}.jar
                        -v
                       --
                       com.bigdata.rdf.sail.webapp.client.*.class
                       com.bigdata.rdf.sail.remote.*.class
                       com.bigdata.rdf.properties.*.class
                       com.bigdata.rdf.properties.text.*.class
                       com.bigdata.rdf.properties.xml.*.class
                       " />
                 </java>
            </target>
        
        Show
        bryanthompson bryanthompson added a comment - The fix is to build.xml: Old: <target name="bigdata-client" depends="clean, prepare, jar" description="Prepare the bigdata web access client library."> <java jar="src/build/autojar/autojar.jar" fork="true" failonerror="true"> <arg line="-o ${build.dir}/${client-version}.jar -c ${build.dir}/${version}.jar -v -- com.bigdata.rdf.sail.webapp.client.*.class com.bigdata.rdf.properties.*.class com.bigdata.rdf.properties.text.*.class com.bigdata.rdf.properties.xml.*.class " /> </java> </target>}}} New {{{ <target name="bigdata-client" depends="clean, prepare, jar" description="Prepare the bigdata web access client library."> <java jar="src/build/autojar/autojar.jar" fork="true" failonerror="true"> <arg line="-o ${build.dir}/${client-version}.jar -c ${build.dir}/${version}.jar -v -- com.bigdata.rdf.sail.webapp.client.*.class com.bigdata.rdf.sail.remote.*.class com.bigdata.rdf.properties.*.class com.bigdata.rdf.properties.text.*.class com.bigdata.rdf.properties.xml.*.class " /> </java> </target>
        Hide
        bryanthompson bryanthompson added a comment -

        I have created a pull request for this fix:

        https://github.com/SYSTAP/bigdata/pull/37

        Show
        bryanthompson bryanthompson added a comment - I have created a pull request for this fix: https://github.com/SYSTAP/bigdata/pull/37

          People

          • Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: