Login | Register
My pages Projects Community openCollabNet

Discussions > users > Problem using cpptasks when running Antelope as a jEdit plugin

antelope
Discussion topic

Back to topic list

Problem using cpptasks when running Antelope as a jEdit plugin

Author Laukkanen Ilkka <LaukkanenIlkka at JohnDeere dot com>
Full name Laukkanen Ilkka <LaukkanenIlkka at JohnDeere dot com>
Date 2007-08-21 03:09:04 PDT
Message Hello,

I realize that this might not be the right forum for this question, but
I'm having trouble using the Antelope jEdit plugin with buildfiles that
use cpptasks. The cpptasks tasks are added to the buildfile using the
new xmlns antlib feature, like this:

<?xml version="1.0"?>
<project name="blah"
    default="compile"
    xmlns:cpptasks="antl​ib:net.sf.antcontrib​.cpptasks"
    xmlns:antcontrib="an​tlib:net.sf.antcontr​ib">
    
    <target name="compile">
        <cpptasks:cc ... >
        </cpptasks:cc>
    </target>
</project>

Standalone Antelope handles this buildfile perfectly, but using the
jEdit plugin I get this output in the jEdit console:

===== BUILD STARTED =====
BUILD FAILED
C:\workspaces\ ... \build.xml:7: Problem: failed to create task or type
antlib:net.sf.antcon​trib.cpptasks:compil​er
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/​<macrodef> declarations have taken
place.

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -C:\apache-ant-1.7.0\lib
        -C:\Documents and Settings\USERNAME\.ant\lib
        -a directory added on the command line with the -lib argument
Total time: 0 seconds
===== BUILD FINISHED =====
Tue Aug 21 11:58:51 EEST 2007

The required jar files are installed in both ant's lib dir and under
.ant\lib in my home directory.


--
Ilkka Laukkanen <LaukkanenIlkka@J​ohnDeere.com>
Tel. +358205846833

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Problem using cpptasks when running Antelope as a jEdit plugin Laukkanen Ilkka <LaukkanenIlkka at JohnDeere dot com> Laukkanen Ilkka <LaukkanenIlkka at JohnDeere dot com> 2007-08-21 03:09:04 PDT
Messages per page: