Hi Oliver
The best thing to do is get the CVS version as described on the Artemis
home page (under the Development section). This contains a Makefile and a
build.xml file.
So you can compile using make:
e.g.
make clean
make
Or use the build.xml there to compile with ant.
Regards
Tim
On Tue, 1 May 2007, Oliver Krieg wrote:
> Hello,
>
> I'm trying to compile Artemis V9 via ant. This is my buildfile.xml:
>
>
> Artemis V9
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> classpathref="buildClassPath" />
>
>
>
>
> But it won't compile. I always get the following errors:
>
>
> build:
> [javac] Compiling 290 source files
> [javac] /Users/oliver/Documents/workspaceUVIC/ArtemisSource/
> artemis/uk/ac/sanger/artemis/ExternalProgramUtils.java:69: cannot
> access uk.ac.sanger.util.AbstractPropertyChangeable
> [javac] file uk/ac/sanger/util/AbstractPropertyChangeable.class
> not found
> [javac] new
> uk.ac.sanger.jcon.job.JobBatchImpl (administrator.getExecutableById
> (1));
> [javac] ^
> [javac] /Users/oliver/Documents/workspaceUVIC/ArtemisSource/
> artemis/uk/ac/sanger/artemis/ExternalProgramUtils.java:83: cannot
> access uk.ac.sanger.sql.MutableNestedSetTreeNode
> [javac] file uk/ac/sanger/sql/MutableNestedSetTreeNode.class not
> found
> [javac]new
> uk.ac.sanger.jcon.job.JobBatchImpl (executable);
> [javac]^
> [javac] /Users/oliver/Documents/workspaceUVIC/ArtemisSource/
> artemis/uk/ac/sanger/artemis/ExternalProgramUtils.java:85: cannot
> access uk.ac.sanger.util.PropertyChangeable
> [javac] file uk/ac/sanger/util/PropertyChangeable.class not found
> [javac] job.setStatus
> (status_dao.readStatusById ( uk.ac.sanger.jcon.job.Status.WAITING));
> [javac] ^
> [javac] /Users/oliver/Documents/workspaceUVIC/ArtemisSource/
> artemis/uk/ac/sanger/artemis/ExternalProgramUtils.java:88:
> incompatible types
> [javac] found : java.lang.Object
> [javac] required: java.lang.String
> [javac] final String input_file_name =
> sequence_file_names.elementAt (i);
>
> [javac]
>^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 4 errors
>
> BUILD FAILED
>
> I already searched for the class
> uk.ac.sanger.util.AbstractPropertyChangeable, but I didn't find it in
> the source or in one of the jar-files ...
>
> What I'm doing wrong? Can anyone help me?
>
> Cheers
> Oliver
>
>
>
The Wellcome Trust Sanger Institute
Wellcome Trust Genome Campus, Hinxton,
Cambridge, CB10 1SA, UK
___
Artemis-users mailing list
Artemis-users@sanger.ac.uk
http://lists.sanger.ac.uk/mailman/listinfo/artemis-users