You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Jason Rutherglen <ja...@gmail.com> on 2011/09/08 00:19:58 UTC

The Eclipse target doesn't seem to show up in 'ant -p'

I think it's 'ant generate-eclipse-files'?  Maybe we should make it show up?

Re: The Eclipse target doesn't seem to show up in 'ant -p'

Posted by Jonathan Ellis <jb...@gmail.com>.
Done in trunk.

On Thu, Sep 8, 2011 at 5:03 AM, Vladimir Vivien
<vl...@gmail.com> wrote:
> Yes, adding a description attribute in ant target will make it show in ant
> -p.
>
> On Wed, Sep 7, 2011 at 6:58 PM, Kirk True <ki...@mustardgrain.com> wrote:
>
>> I think you need to add a description to the task for it to show up.
>>
>>
>> On 9/7/11 3:56 PM, Jake Luciani wrote:
>>
>>> How do you make it show up?
>>>
>>> It's eclipse-files
>>>
>>>
>>>
>>> On Sep 7, 2011, at 6:19 PM, Jason Rutherglen<ja...@gmail.com>>
>>>  wrote:
>>>
>>>  I think it's 'ant generate-eclipse-files'?  Maybe we should make it show
>>>> up?
>>>>
>>>
>
>
> --
> Vladimir Vivien
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Re: The Eclipse target doesn't seem to show up in 'ant -p'

Posted by Vladimir Vivien <vl...@gmail.com>.
Yes, adding a description attribute in ant target will make it show in ant
-p.

On Wed, Sep 7, 2011 at 6:58 PM, Kirk True <ki...@mustardgrain.com> wrote:

> I think you need to add a description to the task for it to show up.
>
>
> On 9/7/11 3:56 PM, Jake Luciani wrote:
>
>> How do you make it show up?
>>
>> It's eclipse-files
>>
>>
>>
>> On Sep 7, 2011, at 6:19 PM, Jason Rutherglen<ja...@gmail.com>>
>>  wrote:
>>
>>  I think it's 'ant generate-eclipse-files'?  Maybe we should make it show
>>> up?
>>>
>>


-- 
Vladimir Vivien

Re: The Eclipse target doesn't seem to show up in 'ant -p'

Posted by Kirk True <ki...@mustardgrain.com>.
I think you need to add a description to the task for it to show up.

On 9/7/11 3:56 PM, Jake Luciani wrote:
> How do you make it show up?
>
> It's eclipse-files
>
>
>
> On Sep 7, 2011, at 6:19 PM, Jason Rutherglen<ja...@gmail.com>  wrote:
>
>> I think it's 'ant generate-eclipse-files'?  Maybe we should make it show up?

Re: The Eclipse target doesn't seem to show up in 'ant -p'

Posted by Jake Luciani <ja...@gmail.com>.
How do you make it show up?

It's eclipse-files

 

On Sep 7, 2011, at 6:19 PM, Jason Rutherglen <ja...@gmail.com> wrote:

> I think it's 'ant generate-eclipse-files'?  Maybe we should make it show up?

Re: The Eclipse target doesn't seem to show up in 'ant -p'

Posted by Stephen Connolly <st...@gmail.com>.
do a realclean

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 7 Sep 2011 19:21, "Jason Rutherglen" <ja...@gmail.com> wrote:
> Now something is broken, I stopped my laptop while Maven was
> downloading something!
>
>
-------------------------------------------------------------------------------------------
>
> Buildfile: /home/j/src/CASSANDRA-3147/build.xml
>
> maven-ant-tasks-localrepo:
>
> maven-ant-tasks-download:
>
> maven-ant-tasks-init:
> Unable to obtain resource from
> /home/j/src/CASSANDRA-3147/build/maven-ant-tasks-2.1.3.jar:
> java.util.zip.ZipException: error in opening zip file
> [typedef] Unable to obtain resource from
> /home/j/src/CASSANDRA-3147/build/maven-ant-tasks-2.1.3.jar:
> [typedef] java.util.zip.ZipException: error in opening zip file
> [typedef] at java.util.zip.ZipFile.open(Native Method)
> [typedef] at java.util.zip.ZipFile.<init>(ZipFile.java:127)
> [typedef] at java.util.jar.JarFile.<init>(JarFile.java:135)
> [typedef] at java.util.jar.JarFile.<init>(JarFile.java:99)
> [typedef] at
>
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1002)
> [typedef] at
>
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:145)
> [typedef] at
>
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init>(AntClassLoader.java:109)
> [typedef] at
> org.apache.tools.ant.AntClassLoader.findResources(AntClassLoader.java:949)
> [typedef] at
>
org.apache.tools.ant.AntClassLoader.getNamedResources(AntClassLoader.java:918)
> [typedef] at
>
org.apache.tools.ant.loader.AntClassLoader5.getResources(AntClassLoader5.java:54)
> [typedef] at
> org.apache.tools.ant.taskdefs.Definer.resourceToURLs(Definer.java:375)
> [typedef] at
org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:267)
> [typedef] at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> [typedef] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> [typedef] at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [typedef] at java.lang.reflect.Method.invoke(Method.java:597)
> [typedef] at
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> [typedef] at org.apache.tools.ant.Task.perform(Task.java:348)
> [typedef] at org.apache.tools.ant.Target.execute(Target.java:390)
> [typedef] at org.apache.tools.ant.Target.performTasks(Target.java:411)
> [typedef] at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
> [typedef] at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
> [typedef] at
>
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> [typedef] at
org.apache.tools.ant.Project.executeTargets(Project.java:1249)
> [typedef] at org.apache.tools.ant.Main.runBuild(Main.java:801)
> [typedef] at org.apache.tools.ant.Main.startAnt(Main.java:218)
> [typedef] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> [typedef] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> [typedef] Could not load definitions from resource
> org/apache/maven/artifact/ant/antlib.xml. It could not be found.
>
> BUILD FAILED
> /home/j/src/CASSANDRA-3147/build.xml:290: Problem: failed to create
> task or type antlib:org.apache.maven.artifact.ant:remoteRepository
> 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.
> No types or tasks have been defined in this namespace yet
>
> This appears to be an antlib declaration.
> Action: Check that the implementing library exists in one of:
> -/usr/share/ant/lib
> -/home/j/.ant/lib
> -a directory added on the command line with the -lib argument
>
>
> Total time: 1 second

Re: The Eclipse target doesn't seem to show up in 'ant -p'

Posted by Jason Rutherglen <ja...@gmail.com>.
Now something is broken, I stopped my laptop while Maven was
downloading something!

-------------------------------------------------------------------------------------------

Buildfile: /home/j/src/CASSANDRA-3147/build.xml

maven-ant-tasks-localrepo:

maven-ant-tasks-download:

maven-ant-tasks-init:
Unable to obtain resource from
/home/j/src/CASSANDRA-3147/build/maven-ant-tasks-2.1.3.jar:
java.util.zip.ZipException: error in opening zip file
  [typedef] Unable to obtain resource from
/home/j/src/CASSANDRA-3147/build/maven-ant-tasks-2.1.3.jar:
  [typedef] java.util.zip.ZipException: error in opening zip file
  [typedef] 	at java.util.zip.ZipFile.open(Native Method)
  [typedef] 	at java.util.zip.ZipFile.<init>(ZipFile.java:127)
  [typedef] 	at java.util.jar.JarFile.<init>(JarFile.java:135)
  [typedef] 	at java.util.jar.JarFile.<init>(JarFile.java:99)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1002)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:145)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init>(AntClassLoader.java:109)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader.findResources(AntClassLoader.java:949)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader.getNamedResources(AntClassLoader.java:918)
  [typedef] 	at
org.apache.tools.ant.loader.AntClassLoader5.getResources(AntClassLoader5.java:54)
  [typedef] 	at
org.apache.tools.ant.taskdefs.Definer.resourceToURLs(Definer.java:375)
  [typedef] 	at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:267)
  [typedef] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  [typedef] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  [typedef] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [typedef] 	at java.lang.reflect.Method.invoke(Method.java:597)
  [typedef] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [typedef] 	at org.apache.tools.ant.Task.perform(Task.java:348)
  [typedef] 	at org.apache.tools.ant.Target.execute(Target.java:390)
  [typedef] 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
  [typedef] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
  [typedef] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
  [typedef] 	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [typedef] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
  [typedef] 	at org.apache.tools.ant.Main.runBuild(Main.java:801)
  [typedef] 	at org.apache.tools.ant.Main.startAnt(Main.java:218)
  [typedef] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [typedef] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [typedef] Could not load definitions from resource
org/apache/maven/artifact/ant/antlib.xml. It could not be found.

BUILD FAILED
/home/j/src/CASSANDRA-3147/build.xml:290: Problem: failed to create
task or type antlib:org.apache.maven.artifact.ant:remoteRepository
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.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -/usr/share/ant/lib
        -/home/j/.ant/lib
        -a directory added on the command line with the -lib argument


Total time: 1 second

Re: The Eclipse target doesn't seem to show up in 'ant -p'

Posted by Jake Luciani <ja...@gmail.com>.
Oh you are right. 

generate-eclipse-files

 

On Sep 7, 2011, at 6:19 PM, Jason Rutherglen <ja...@gmail.com> wrote:

> I think it's 'ant generate-eclipse-files'?  Maybe we should make it show up?