Changeset 4218


Ignore:
Timestamp:
Apr 11, 2008, 10:58:31 AM (15 years ago)
Author:
Nicklas Nordborg
Message:

References #898: Move example code for plug-ins to the BASE plug-ins site

This removes the example code from the core distribution.

Location:
trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r4208 r4218  
    5151    Example code:
    5252    examples:             Build all examples
    53     examples.plugins:     Build plug-in examples
    5453    examples.webservices: Build webservices examples
    5554
     
    308307  <target
    309308    name="examples"
    310     depends="examples.plugins,examples.webservices"
     309    depends="examples.webservices"
    311310    description="Create examples for local use and distribution"
    312311  />
     
    662661  </target>
    663662 
    664   <!-- example plugin targets -->
    665   <target
    666     name="examples.plugins.init"
    667     depends="core.init"
    668     >
    669     <property name="examples.plugins.dir" location="${src}/examples/plugins" />
    670     <property name="examples.plugins.src" location="${examples.plugins.dir}/src"
    671       description="Location of source files" />
    672     <property name="examples.plugins.build" location="${build}/plugins/example"
    673       description="Location of compiled files" />
    674     <path id="examples.plugins.classpath" description="Class path for compiling plugins">
    675       <path refid="core.classpath"/>
    676       <pathelement location="${core.build}"/>
    677     </path>
    678   </target>
    679  
    680   <target
    681     name="examples.plugins.compile"
    682     depends="core.compile,examples.plugins.init"
    683     description="Compile the example plugins"
    684     >
    685     <mkdir dir="${examples.plugins.build}" />
    686     <javac
    687       srcdir="${examples.plugins.src}"
    688       destdir="${examples.plugins.build}"
    689       classpathref="examples.plugins.classpath"
    690       encoding="${javac.encoding}"
    691       debug="true"
    692       deprecation="true"
    693       source="${javac.source}"
    694       target="${javac.target}"
    695       >
    696       <compilerarg value="${javac.arg}" />
    697     </javac>
    698   </target>
    699  
    700   <target
    701     name="examples.plugins.jar"
    702     depends="examples.plugins.compile"
    703     description="Create the example plugins jar file: ExamplePlugins.jar"
    704     >
    705     <mkdir dir="${plugins}" />
    706     <jar
    707       basedir="${examples.plugins.build}"
    708       jarfile="${plugins}/ExamplePlugins.jar"
    709       manifest="${examples.plugins.dir}/META-INF/MANIFEST.MF"
    710       >
    711       <metainf file="${examples.plugins.dir}/META-INF/base-plugins.xml"></metainf>
    712        <metainf file="${examples.plugins.dir}/META-INF/base-configurations.xml"></metainf>
    713     </jar>
    714   </target>
    715  
    716   <target
    717     name="examples.plugins"
    718     depends="examples.plugins.jar,core.jar"
    719     description="Put together the plugin examples in the examples/plugins directory"
    720     >
    721     <mkdir dir="${examples}/plugins" />
    722     <copy todir="${examples}/plugins">
    723       <fileset dir="${examples.plugins.dir}" />
    724       <fileset file="${plugins}/ExamplePlugins.jar" />
    725       <fileset file="base2.license.txt" />
    726     </copy>
    727     <copy todir="${examples}/plugins/bin">
    728       <fileset dir="${examples.plugins.build}" />
    729     </copy>
    730     <copy todir="${examples}/plugins/lib">
    731       <fileset file="${jar}/BASE2Core.jar" />
    732     </copy>
    733   </target>
    734 
    735663  <!-- webservices example targets -->
    736664  <target
     
    16721600  <target
    16731601    name="package.examples"
    1674     depends="package.examples.plugins,package.examples.webservices"
     1602    depends="package.examples.webservices"
    16751603  />
    1676  
    1677   <target
    1678     name="package.examples.plugins"
    1679     depends="examples.plugins"
    1680     description="Create a downloadable tar file with the example plugins"
    1681     >
    1682     <mkdir dir="${package}" />
    1683     <tar
    1684       destfile="${package}/exampleplugins.tar.gz"
    1685       compression="gzip"
    1686       >
    1687       <tarfileset
    1688         dir="${examples}/plugins"
    1689         preserveLeadingSlashes="true"
    1690       />
    1691     </tar>
    1692   </target>
    16931604 
    16941605  <target
  • trunk/doc/src/docbook/developerdoc/plugin_developer.xml

    r4149 r4218  
    45984598      can ask a user for one or more parameters.
    45994599   
    4600       You can <ulink url="http://base.thep.lu.se/wiki/DeveloperInformation">download
    4601       a tar file with the source and compiled plug-in code</ulink> from the BASE website.
     4600      You can <ulink url="http://baseplugins.thep.lu.se/wiki/net.sf.basedb.examples.plugins">download
     4601      a tar file with the source and compiled plug-in code</ulink> from the BASE plug-ins website.
    46024602      It contains the following plug-ins:
    46034603    </para>
    46044604   
    4605     <variablelist>
    4606     <varlistentry>
    4607       <term>ExampleImporter</term>
    4608       <listitem>
    4609         <para>
    4610         An import plug-in that pretends to import samples. It will ask for a file
    4611         and if existing samples should be updated or not, but doesn't actually
    4612         import anything.
    4613         </para>
    4614       </listitem>
    4615     </varlistentry>
    4616 
    4617     <varlistentry>
    4618       <term>ExampleAnalyzer</term>
    4619       <listitem>
    4620         <para>
    4621         An analysis plug-in that asks for a multiplication factor and a cut-off value.
    4622         It will create a child bioassay set by multiplying the original intensities
    4623         with the given factor and filter out those with original intensities less
    4624         than the cut-off. It works for any number of channels and raw data types
    4625         </para>
    4626       </listitem>
    4627     </varlistentry>
    4628     </variablelist>
    4629 
    46304605  </sect1>
    46314606</chapter>
  • trunk/doc/src/docbook/overviewdoc/resources.xml

    r4150 r4218  
    214214      called
    215215      <ulink url="http://baseplugins.thep.lu.se/">BASE plug-ins web site</ulink>
    216       which includes a download page for submitted none-core plug-ins. Here is also
    217       information how to become a plug-in developer, with commit access to the repository, and
    218       how to submit a plug-in to the download page.
     216      which includes a download page for submitted none-core plug-ins.     
     217      Here is also information how to become a plug-in developer, with
     218      commit access to the repository, and how to submit a plug-in to the
     219      download page. You will also be able to find example
     220      code for plug-ins, extensions, web services, etc.
    219221    </para>
    220222  </sect1>
Note: See TracChangeset for help on using the changeset viewer.