Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: Me
Cytoscape-Plugin: GraphCreate
Class-Path:
3) inserted the plugin.props file:
#plugin.props
# This props file should be filled out and included in the plugin jar
file. This props file will be used
# to put information into the Plugin Manager about the plugin
# -- The following properties are REQUIRED -- #
# The plugin name that will be displayed to users, white space within
name is not allowed
pluginName=GraphCreate
# Description used to give users information about the plugin such as
what it does.
# Html tags are encouraged for formatting purposes.
pluginDescription=Information about the plugin that will be displayed
to users.<br>Please use html tags for all formatting and do not add
newlines.<p>
# Plugin version number, this must be two numbers separated by a
decimlal. Ex. 0.2, 14.03
pluginVersion=1.0
# Compatible Cytoscape version. If there are more than one version,
seperate by ",".
cytoscapeVersion=2.5,2.6
# Category, use one of the categories listed on the http://cytoscape.org/plugins2.php
site
pluginCategory=Network Inference
# -- The following properties are OPTIONAL -- #
# URL to a website that gives more information about your plugin, Ex.
http://my-lab-site.org
#projectURL=http://my-lab-site.org/myCytoscapePlugin
# List of authors. Note each author and institution pair are
separated by a : (colon)
# each additional author institution pair must be separated from other
pairs bye a ; (semicolon)
pluginAuthorsInstitutions=Francesco;
# Date this plugin/plugin version was released
releaseDate=November 16, 2009
# If this plugin is never meant to be downloaded except as part of a
plugin (not common) add this property. Default is "no"
themeOnly=no
4) Zipped the file with winRar: selecting "Compress with zip" and
changing its extension in .jar
5) cut and paste the ajr in the plugin directory
6) Cytoscape is open but the plugin name doesn't appear in the plugin
menù
Where am I wrong?
thanks for reading
BTW: the file name "MANIFEST.MF" should in upper case.
> --
>
> You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
> To post to this group, send email to cytoscap...@googlegroups.com.
> To unsubscribe from this group, send email to cytoscape-disc...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cytoscape-discuss?hl=en.
>
>
>
<!--
=================================================================== --
>
<!-- Plugin build file -->
<!--
=================================================================== --
>
<project name="tutorial01" default="jar" basedir=".">
<!--
=================================================================== --
>
<!-- Initialization
target -->
<!--
=================================================================== --
>
<target name="init">
<property name="plugin_name" value="tutorial01"/>
<property name="plugin_class"
value="cytoscape.tutorial01.Tutorial01"/>
<property name="project.jar" value="${plugin_name}.jar"/>
<property name="version" value="1.1"/>
<property name="year" value="2008"/>
<echo message="Building plugin ${plugin_name} version $
{version}..."/>
<!-- Define the plugin directories -->
<property name="root.dir" value="."/>
<property name="src.dir" value="${root.dir}/src"/>
<property name="build.dir" value="${root.dir}/build"/>
<property name="images.dir" value="${root.dir}/images"/>
<property name="manifest.dir" value="${root.dir}/manifest"/>
<property name="lib.dir" value="${root.dir}/lib"/>
<!-- Define the Cytoscape directories -->
<property name="cytoscape.dir" value="../../cytoscape"/>
<property name="cytoscape.lib.dir" value="${cytoscape.dir}/lib"/>
<property name="cytoscape.plugin.dir" value="${cytoscape.dir}/
plugins"/>
<!-- Inheritable properties -->
<property name="debug" value="on"/>
<property name="optimize" value="off"/>
<property name="deprecation" value="on"/>
<property name="nowarn" value="true"/>
<property name="fork" value="false"/>
<!-- Check the availability of some files -->
<available file="${cytoscape.dir}/cytoscape.jar"
property="cytoscape.present"/>
<available file="${root.dir}/plugin.props"
property="plugin.prop.present"/>
<available file="${images.dir}" property="images.dir.present"/>
<!-- Define the java class path -->
<path id="project.class.path">
<pathelement location="${cytoscape.dir}/cytoscape.jar"/>
<pathelement path="${java.class.path}/"/>
</path>
</target>
<!--
=================================================================== --
>
<!-- Compiles the project
-->
<!--
=================================================================== --
>
<target name="compile" depends="init" >
<echo message="COMPILE ${plugin_name} ..."/>
<mkdir dir="${build.dir}"/>
<javac srcdir="${src.dir}"
excludes="${excludes}"
classpathref="project.class.path"
destdir="${build.dir}"
debug="${debug}"
nowarn="${nowarn}"
deprecation="${deprecation}"
optimize="${optimize}"
fork="${fork}"/>
</target>
<!--
=================================================================== --
>
<!-- Creates the plugin jar
file -->
<!--
=================================================================== --
>
<target name="jar" depends="compile, copy_plugin_prop, copy_images"
>
<jar destfile="${project.jar}">
<manifest> <attribute name="Cytoscape-Plugin" value="$
{plugin_class}"/> </manifest>
<fileset dir="${build.dir}" includes="**"/>
</jar>
</target>
<!-- If plugin.prop exist, copy it to build directory -->
<target name="copy_plugin_prop" if="plugin.prop.present">
<copy todir="${build.dir}/cytoscape/tutorial01" file="${root.dir}/
plugin.props"/>
</target>
<!-- If there are any image files, copy them to build directory --
>
<target name="copy_images" if="images.dir.present">
<copy todir="${build.dir}">
<fileset dir="${images.dir}"/>
</copy>
</target>
<!--
=================================================================== --
>
<!-- Clean up, get back to original
state -->
<!--
=================================================================== --
>
<target name="clean" depends="init">
<delete dir="${build.dir}"/>
</target>
</project>
<!-- End of file -->
On 17 Dic, 18:27, Peng-Liang Wang <plw...@bioeng.ucsd.edu> wrote:
> You can also look at the sample plugins athttp://cytoscape.wodaklab.org/wiki/plugin_developer_tutorial
> Download a plugin and look at the build.xml file.
>
> Peng
>
> > cytoscape-disc...@googlegroups.com<cytoscape-discuss%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to cytoscape-disc...@googlegroups.com.
On 17 Dic, 19:54, Peng-Liang Wang <plw...@bioeng.ucsd.edu> wrote:
> Cytoscape 2.x use Ant to build the project. You may look at "Ant" for more
> detail. You can copy the existing build.xml and customize it to meet your
> need.
>
> Peng
>
> > > > cytoscape-disc...@googlegroups.com<cytoscape-discuss%2Bunsubscr i...@googlegroups.com>
> > <cytoscape-discuss%2Bunsu...@googlegroups.com<cytoscape-discuss%252Buns ubsc...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/cytoscape-discuss?hl=en.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "cytoscape-discuss" group.
> > To post to this group, send email to cytoscap...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > cytoscape-disc...@googlegroups.com<cytoscape-discuss%2Bunsubscr i...@googlegroups.com>