You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Stein Eldar Johnsen <mo...@gmail.com> on 2005/11/30 12:04:19 UTC

Derby build failure.

Hi

Im trying to compile Derby on my computer (Derby from SVN and 10.1.2.1
source generates same messge), but when I run ant it generates an error.
The error is the same whether sane is true or false. I am running
ant-1.6.2, java-1.4.2_09 / java-1.3.1_16. The message from ant:

Buildfile: build.xml

init:

ensuresanitystate:

evaluate.sane:

ensuresanitystate.sane:

sane:

BUILD FAILED
/home/morimekta/workspace/DerbySVN/build.xml:37: The following error
occurred while executing this line:
/home/morimekta/workspace/DerbySVN/build.xml:51: The following error
occurred while executing this line:
/home/morimekta/workspace/DerbySVN/build.xml:62: The following error
occurred while executing this line:
/home/morimekta/workspace/DerbySVN/build.xml:66: The following error
occurred while executing this line:
/home/morimekta/workspace/DerbySVN/build.xml:523: Could not create task
or type of type: propertyfile.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
  - You have misspelt 'propertyfile'.
    Fix: check your spelling.
  - The task needs an external JAR file to execute
      and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
  - The task is an Ant optional task and the JAR file and/or libraries
      implementing the functionality were not found at the time you
      yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
      task and make sure it contains more than merely a 
META-INF/MANIFEST.MF.
      If all it contains is the manifest, then rebuild Ant with the needed
      libraries present in ${ant.home}/lib/optional/ , or alternatively,
      download a pre-built release version from apache.org
  - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
  - The task is not an Ant core or optional task
      and needs to be declared using <taskdef>.
  - You are attempting to use a task defined using
     <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use

Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath

Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.

Total time: 0 seconds

-- 
Stein Eldar Johnsen
  - e-mail: morimekta@gmail.com
  - phone: +47 4152 1901



Re: Logo Showcase

Posted by "David W. Van Couvering" <Da...@Sun.COM>.
Very nice!  I would suggest you go ahead and attach this image as well, 
with a clear indication that this goes along with your original 
submission...

David

Roger Dudler wrote:
> Hi guys,
> 
> I would like to give you an experience about my logo proposal, so I 
> created a little image with some color variants and buttons.
> 
> Greets
> Roger
> 
> ------------------------------------------------------------------------
> 

Re: Logo Showcase

Posted by Daniel John Debrunner <dj...@debrunners.com>.
Roger Dudler wrote:

> Hi guys,
> 
> I would like to give you an experience about my logo proposal, so I
> created a little image with some color variants and buttons.

That's good, I like the showing of the logo in all sizes. I do worry how
most of the logos in the contest will look as a 16x16 icon.

Thanks,
Dan.


RE: Logo Showcase

Posted by Samer Kanjo <sa...@kanjo.net>.
Point taken.

-----Original Message-----
From: Jeffrey Lichtman [mailto:swazoo@rcn.com] 
Sent: Wednesday, November 30, 2005 8:56 PM
To: Derby Discussion
Subject: RE: Logo Showcase


>If you look at Roger's initial post and open the attachment you will see
>that he addressed the issues you mentioned: small size of logo, black and
>white logo.

My point is that voters should take this into account, not that any 
submitter didn't.


                        -        Jeff Lichtman
                                 swazoo@rcn.com
                                 Check out Swazoo Koolak's Web Jukebox at
                                 http://swazoo.com/ 




RE: Logo Showcase

Posted by Jeffrey Lichtman <sw...@rcn.com>.
>If you look at Roger's initial post and open the attachment you will see
>that he addressed the issues you mentioned: small size of logo, black and
>white logo.

My point is that voters should take this into account, not that any 
submitter didn't.


                        -        Jeff Lichtman
                                 swazoo@rcn.com
                                 Check out Swazoo Koolak's Web Jukebox at
                                 http://swazoo.com/ 


RE: Logo Showcase

Posted by Samer Kanjo <sa...@kanjo.net>.
Jeff,

If you look at Roger's initial post and open the attachment you will see
that he addressed the issues you mentioned: small size of logo, black and
white logo. He also addressed the case of displaying the logo on a dark
background.

-Samer

-----Original Message-----
From: Jeffrey Lichtman [mailto:swazoo@rcn.com] 
Sent: Wednesday, November 30, 2005 12:37 PM
To: Derby Discussion
Subject: Re: Logo Showcase


>What's a "favicon"?
>
>David

A favicon is a very small graphic file that is associated with a web 
site. A browser will usually display it in the upper left corner of a 
page or tab window. The resolution of a favicon is usually 16 by 16 pixels.

The Google favicon is a blue capital G in a white square with a 
colored border. Any modern browser should display it.

We should consider whether it's a requirement for the Derby logo to 
work as a favicon. The small size and limited number of pixels means 
that not all designs will look good as favicons.

BTW, it's also worth thinking about what a logo will look like in 
black and white, in case someone ever wants to do a large print run 
(color printing is expensive).


                        -        Jeff Lichtman
                                 swazoo@rcn.com
                                 Check out Swazoo Koolak's Web Jukebox at
                                 http://swazoo.com/ 




Re: Logo Showcase

Posted by Jeffrey Lichtman <sw...@rcn.com>.
>What's a "favicon"?
>
>David

A favicon is a very small graphic file that is associated with a web 
site. A browser will usually display it in the upper left corner of a 
page or tab window. The resolution of a favicon is usually 16 by 16 pixels.

The Google favicon is a blue capital G in a white square with a 
colored border. Any modern browser should display it.

We should consider whether it's a requirement for the Derby logo to 
work as a favicon. The small size and limited number of pixels means 
that not all designs will look good as favicons.

BTW, it's also worth thinking about what a logo will look like in 
black and white, in case someone ever wants to do a large print run 
(color printing is expensive).


                        -        Jeff Lichtman
                                 swazoo@rcn.com
                                 Check out Swazoo Koolak's Web Jukebox at
                                 http://swazoo.com/ 


Re: Logo Showcase

Posted by Andrew McIntyre <mc...@gmail.com>.
On Nov 30, 2005, at 9:17 AM, David W. Van Couvering wrote:

> What's a "favicon"?
>
> David

A favicon is that little 16x16 icon that appears next to the web  
address in your browser's address bar or your bookmarks file that  
serves as an easy visual indicator for the web site - a "Favorites  
icon". Wikipedia has an extensive description, including guidelines  
for creating and deploying favicons:

http://en.wikipedia.org/wiki/Favicon

andrew

Re: Logo Showcase

Posted by "David W. Van Couvering" <Da...@Sun.COM>.
What's a "favicon"?

David

Samer Kanjo wrote:
> Very nice! 
> 
> I like the icons, one could be used as a favicon. I also like the large hat
> in light grey, which could be used to background the derby web pages or just
> the home page perhaps even as a watermark on derby docs. My favorite color
> is blue so I am partial to the blue hat. I also like what I am guessing are
> menu links on the top right side.
> 
> Very good job on these! You must be a graphic designer, yes?
> 
> 
> -----Original Message-----
> From: Roger Dudler [mailto:rdudler@iframe.ch] 
> Sent: Wednesday, November 30, 2005 6:29 AM
> To: Derby Discussion
> Subject: Logo Showcase
> 
> Hi guys,
> 
> I would like to give you an experience about my logo proposal, so I 
> created a little image with some color variants and buttons.
> 
> Greets
> Roger
> 

RE: Logo Showcase

Posted by Samer Kanjo <sa...@kanjo.net>.
Very nice! 

I like the icons, one could be used as a favicon. I also like the large hat
in light grey, which could be used to background the derby web pages or just
the home page perhaps even as a watermark on derby docs. My favorite color
is blue so I am partial to the blue hat. I also like what I am guessing are
menu links on the top right side.

Very good job on these! You must be a graphic designer, yes?


-----Original Message-----
From: Roger Dudler [mailto:rdudler@iframe.ch] 
Sent: Wednesday, November 30, 2005 6:29 AM
To: Derby Discussion
Subject: Logo Showcase

Hi guys,

I would like to give you an experience about my logo proposal, so I 
created a little image with some color variants and buttons.

Greets
Roger


Logo Showcase

Posted by Roger Dudler <rd...@iframe.ch>.
Hi guys,

I would like to give you an experience about my logo proposal, so I 
created a little image with some color variants and buttons.

Greets
Roger

Re: Derby build failure.

Posted by Stein Eldar Johnsen <mo...@gmail.com>.
Dyre.Tjeldvoll@Sun.COM wrote:

>Stein Eldar Johnsen <mo...@gmail.com> writes:
>
>  
>
>>Hi
>>
>>Im trying to compile Derby on my computer (Derby from SVN and 10.1.2.1
>>source generates same messge), but when I run ant it generates an error.
>>The error is the same whether sane is true or false. I am running
>>ant-1.6.2, java-1.4.2_09 / java-1.3.1_16. The message from ant:
>>
>>Buildfile: build.xml
>>
>>init:
>>
>>ensuresanitystate:
>>
>>evaluate.sane:
>>
>>ensuresanitystate.sane:
>>
>>sane:
>>
>>BUILD FAILED
>>/home/morimekta/workspace/DerbySVN/build.xml:37: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:51: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:62: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:66: The following error
>>occurred while executing this line:
>>/home/morimekta/workspace/DerbySVN/build.xml:523: Could not create task
>>or type of type: propertyfile.
>>
>>Ant could not find the task or a class this task relies upon.
>>    
>>
>
>Sounds very much like you're not using the ant you think you're
>using...
>
>It is not enough to just set ANT_HOME, you also need to add
>$ANT_HOME/bin to your path (before any other ant, of course) 
>
>Example:
>dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
>/usr/local/java/ant/bin/ant
>dt136804@khepri29/private/tmp/DERBY/derby-85$ echo $ANT_HOME
>/usr/local/java/ant
>dt136804@khepri29/private/tmp/DERBY/derby-85$ export ANT_HOME=/usr/local/share/java/apache-ant-1.6.2
>dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
>/usr/local/java/ant/bin/ant
>dt136804@khepri29/private/tmp/DERBY/derby-85$ export PATH=$ANT_HOME/bin:$PATH
>dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
>/usr/local/share/java/apache-ant-1.6.2/bin/ant
>
>  
>
Discovered that my ant build was incomplete. Trying again with new ant 
build.

-- 
Stein Eldar Johnsen
 - e-mail: morimekta@gmail.com
 - phone: +47 4152 1901


Re: Derby build failure.

Posted by Dy...@Sun.COM.
Stein Eldar Johnsen <mo...@gmail.com> writes:

> Hi
>
> Im trying to compile Derby on my computer (Derby from SVN and 10.1.2.1
> source generates same messge), but when I run ant it generates an error.
> The error is the same whether sane is true or false. I am running
> ant-1.6.2, java-1.4.2_09 / java-1.3.1_16. The message from ant:
>
> Buildfile: build.xml
>
> init:
>
> ensuresanitystate:
>
> evaluate.sane:
>
> ensuresanitystate.sane:
>
> sane:
>
> BUILD FAILED
> /home/morimekta/workspace/DerbySVN/build.xml:37: The following error
> occurred while executing this line:
> /home/morimekta/workspace/DerbySVN/build.xml:51: The following error
> occurred while executing this line:
> /home/morimekta/workspace/DerbySVN/build.xml:62: The following error
> occurred while executing this line:
> /home/morimekta/workspace/DerbySVN/build.xml:66: The following error
> occurred while executing this line:
> /home/morimekta/workspace/DerbySVN/build.xml:523: Could not create task
> or type of type: propertyfile.
>
> Ant could not find the task or a class this task relies upon.

Sounds very much like you're not using the ant you think you're
using...

It is not enough to just set ANT_HOME, you also need to add
$ANT_HOME/bin to your path (before any other ant, of course) 

Example:
dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
/usr/local/java/ant/bin/ant
dt136804@khepri29/private/tmp/DERBY/derby-85$ echo $ANT_HOME
/usr/local/java/ant
dt136804@khepri29/private/tmp/DERBY/derby-85$ export ANT_HOME=/usr/local/share/java/apache-ant-1.6.2
dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
/usr/local/java/ant/bin/ant
dt136804@khepri29/private/tmp/DERBY/derby-85$ export PATH=$ANT_HOME/bin:$PATH
dt136804@khepri29/private/tmp/DERBY/derby-85$ which ant
/usr/local/share/java/apache-ant-1.6.2/bin/ant

-- 
dt