poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver" <acoli...@apache.org>
Subject Re: question getting started making a patch
Date Fri, 28 Feb 2003 18:00:08 GMT
Yes, I fear Nicola Ken is a bit overwhelmed these days.  Someone may 
have to take over the build responsibilities.  Currently we are half way 
between each with our site generating on one version of the build and 
the proper build being another...

The proper way to build POI these days is to get a recent build of 
Centipede (krysalis.org/centipede) and put that in your path and do 
"cent targetname" unfortunately the site build isn't ported.

It might be good for someone else to assume the responsibility for 
this.  Nicola Ken and I both have the weakness of believing our own 
lies. . . Meaning if it builds for us then it must work....right?  So 
perhaps someone who tends to posess more self doubt should take this up.

-Andy

Danny Mui wrote:

> I remember a nice menu describing the targets that you had below:
>
>     all -------------- creates the jars and the site
>     compile ---------- compiles the source code
>     test ------------- performs the jUnit tests
>     jar -------------- create the jar files
>     docs ------------- generates the html docs - clean not needed
>     javadocs --------- generates the API documentation
>     site ------------- generates the html site (docs+reports)
>     clean ------------ cleans the build directory
>     dist ------------- creates src and bin distributions
>     scratchpad ------- build-run scratchpad code
>     contrib ---------- build-run contributed code
>     generate-records - generate excel records
>     generate-types --- generate word types
>
> running build.bat/build.sh without targets got that error for me.
>
> Use a target and you should be golden.
>
> i.e.
>
> build compile
>
> or
>
> build all
>
> or even better
>
> build test
>
>
>
> Melvin Loehr wrote:
>
>> Very cool.
>>
>> But i have to admit i am being a dumb-dumb today.   I  tried running
>> build.bat but it fails.  Any clues?  I am sure some of you have ran 
>> across
>> this before.......
>>
>> Ruel Loehr
>> IBM
>>
>>
>> -cent-unjar-expand:
>> Expanding
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\checkstyle
>> ent.jar...
>> Expanding:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\checkstyl
>> cent.jar into F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents
>> ...
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\checkstyle.cent.
>> r expanded in checkstyle.
>>
>> -cent-unjar-expand:
>> Expanding
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\forrest.ce
>> .jar...
>> Expanding:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\forrest.c
>> t.jar into F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents
>> ...
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\forrest.cent.jar
>> xpanded in forrest.
>>
>> -cent-unjar-expand:
>> Expanding
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\javasrc.ce
>> .jar...
>> Expanding:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\javasrc.c
>> t.jar into F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents
>> ...
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\javasrc.cent.jar
>> xpanded in javasrc.
>>
>> -cent-unjar-expand:
>> Expanding
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\jdepend.ce
>> .jar...
>> Expanding:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\jdepend.c
>> t.jar into F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents
>> ...
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\jdepend.cent.jar
>> xpanded in jdepend.
>>
>> -cent-unjar-expand:
>> Expanding
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\junit.cent
>> ar...
>> Expanding:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\junit.cen
>> jar into F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents
>> ... 
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\junit.cent.jar
>> e
>> anded in junit.
>>
>> -cent-unjar-expand:
>> Expanding
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\umldoclet.
>> nt.jar...
>> Expanding:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\umldoclet
>> ent.jar into F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents
>> ...
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\umldoclet.cent.j
>> expanded in umldoclet.
>> Deleting directory
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\M
>> A-INF
>>
>> -prepare-src:
>> Created dir: F:\finaleclipse\eclipse\workspace\jakarta-poi\build\java
>> Created dir: F:\finaleclipse\eclipse\workspace\jakarta-poi\build\classes
>> Copying 319 files to
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\java
>> Created dir:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\scratchpad\ja
>>
>> Created dir:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\scratchpad\cl
>> ses
>> Copying 75 files to
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\scratc
>> ad\java
>> Created dir:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\examples\java
>> Created dir:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\examples\clas
>> s
>> Copying 19 files to
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\exampl
>> \java
>> Created dir:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\contrib\java
>> Created dir:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\contrib\class
>>
>> Copying 21 files to
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build\contri
>> java
>>
>> interactive:
>>
>>    --------------------------------------------------------------
>>
>>          jakarta-poi 1.11   [2003]
>>
>>    --------------------------------------------------------------
>>     Using Apache Ant version 1.5alpha compiled on April 2 2002
>>     Build file F:\finaleclipse\eclipse\workspace\jakarta-poi\build.xml
>>    --------------------------------------------------------------
>>     These are the most common build targets.
>>     You can also invoke them directly; see build.xml for more info.
>>     Builds will be in /build directory, distributions in /dist.
>>
>>     all -------------- creates the jars and the site
>>     compile ---------- compiles the source code
>>     test ------------- performs the jUnit tests
>>     jar -------------- create the jar files
>>     docs ------------- generates the html docs - clean not needed
>>     javadocs --------- generates the API documentation
>>     site ------------- generates the html site (docs+reports)
>>     clean ------------ cleans the build directory
>>     dist ------------- creates src and bin distributions
>>     scratchpad ------- build-run scratchpad code
>>     contrib ---------- build-run contributed code
>>     generate-records - generate excel records
>>     generate-types --- generate word types
>>
>>
>>
>> BUILD FAILED
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build.xml:63: Could not 
>> create
>> t
>> k or type of type: centipede-user-input.
>>
>> 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 'centipede-user-input'.
>>   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 optional.jar is absent
>>   Fix: look for optional.jar in ANT_HOME/lib, download if needed
>> - The task was not built into optional.jar as dependent
>>   libraries were not found at build time.
>>   Fix: look in the JAR to verify, then rebuild with the needed
>>   libraries, or download a 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>.
>>
>> 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: 19 seconds
>>
>> F:\finaleclipse\eclipse\workspace\jakarta-poi>build.bat
>> Using classpath:
>> ";.\lib\endorsed\xalan-2.2.0.jar;.\lib\endorsed\xerces-2.0.0.
>> r;.\lib\endorsed\xml-apis.jar"
>>
>> Warning: JAVA_HOME environment variable is not set.
>>  If build fails because sun.* classes could not be found
>>  you will need to set the JAVA_HOME environment variable
>>  to the installation directory of java.
>>
>> Buildfile: build.xml
>>
>> -init:
>>
>>    --------------------------------------------------------------
>>
>>      Using Apache Ant version 1.5alpha compiled on April 2 2002
>>      Build file F:\finaleclipse\eclipse\workspace\jakarta-poi\build.xml
>>      Build number 1
>>      Project Name project build file
>>      Java Version 1.3
>>      Timestamp 200302261014
>>
>>    --------------------------------------------------------------
>>
>>
>> get-needed-cents:
>> Transforming into 
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\tmp
>>
>> centipede-present:
>> centipede cent is present: true
>>
>> junit-present:
>> junit cent is present: true
>>
>> jdepend-present:
>> jdepend cent is present: true
>>
>> checkstyle-present:
>> checkstyle cent is present: true
>>
>> javasrc-present:
>> javasrc cent is present: true
>>
>> umldoclet-present:
>> umldoclet cent is present: true
>>
>> forrest-present:
>> forrest cent is present: true
>>
>> dummy-target:
>> cents fetch finished
>> Transforming into 
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\tmp
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\automagic.cent.jar
>> i
>> uptodate with respect to automagic.
>> No need to expand it.
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\centipede.cent.jar
>> i
>> uptodate with respect to centipede.
>> No need to expand it.
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\checkstyle.cent.ja
>> r
>> uptodate with respect to checkstyle.
>> No need to expand it.
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\forrest.cent.jar
>> is
>> todate with respect to forrest.
>> No need to expand it.
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\javasrc.cent.jar
>> is
>> todate with respect to javasrc.
>> No need to expand it.
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\jdepend.cent.jar
>> is
>> todate with respect to jdepend.
>> No need to expand it.
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\junit.cent.jar 
>> is
>> up
>> date with respect to junit.
>> No need to expand it.
>>
>> -cent-unjar-keep:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\cents\umldoclet.cent.jar
>> i
>> uptodate with respect to umldoclet.
>> No need to expand it.
>> Deleting:
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\tools\tmp\tasks.proper
>> es
>>
>> interactive:
>>
>>    --------------------------------------------------------------
>>
>>          jakarta-poi 1.11   [2003]
>>
>>    --------------------------------------------------------------
>>     Using Apache Ant version 1.5alpha compiled on April 2 2002
>>     Build file F:\finaleclipse\eclipse\workspace\jakarta-poi\build.xml
>>    --------------------------------------------------------------
>>     These are the most common build targets.
>>     You can also invoke them directly; see build.xml for more info.
>>     Builds will be in /build directory, distributions in /dist.
>>
>>     all -------------- creates the jars and the site
>>     compile ---------- compiles the source code
>>     test ------------- performs the jUnit tests
>>     jar -------------- create the jar files
>>     docs ------------- generates the html docs - clean not needed
>>     javadocs --------- generates the API documentation
>>     site ------------- generates the html site (docs+reports)
>>     clean ------------ cleans the build directory
>>     dist ------------- creates src and bin distributions
>>     scratchpad ------- build-run scratchpad code
>>     contrib ---------- build-run contributed code
>>     generate-records - generate excel records
>>     generate-types --- generate word types
>>
>>
>>
>> BUILD FAILED
>> F:\finaleclipse\eclipse\workspace\jakarta-poi\build.xml:63: Could not 
>> create
>> t
>> k or type of type: centipede-user-input.
>>
>> 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 'centipede-user-input'.
>>   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 optional.jar is absent
>>   Fix: look for optional.jar in ANT_HOME/lib, download if needed
>> - The task was not built into optional.jar as dependent
>>   libraries were not found at build time.
>>   Fix: look in the JAR to verify, then rebuild with the needed
>>   libraries, or download a 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>.
>>
>> 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: 4 seconds
>>
>> F:\finaleclipse\eclipse\workspace\jakarta-poi>
>> ----- Original Message -----
>> From: "Danny Mui" <danny@muibros.com>
>> To: "POI Users List" <poi-user@jakarta.apache.org>
>> Sent: Wednesday, February 26, 2003 10:06 AM
>> Subject: Re: question getting started making a patch
>>
>>
>>  
>>
>>> 2 ways that i know to fix this:
>>>
>>> 1) copy junit-3.7.jar to that directory
>>> 2) run build from the command line (with ant) and centipede will
>>> download the jars that it needs.  Isn't that cool?
>>>
>>> danny
>>>
>>> Melvin Loehr wrote:
>>>
>>>   
>>>
>>>> Guys,
>>>>
>>>> I have been using POI for a while and love it.  I have decided to try
>>>>     
>>>
>> some contributions.  I just checked out the latest source code from cvs
>> (using eclipse).   However, it gives an error in my task list:
>>  
>>
>>>> Missing required library:
>>>>     
>>>
>> 'jakarta-poi/tools/cents/junit.cent/lib/junit-3.7.jar'. jakarta-poi  
>> Build
>> path
>>  
>>
>>>> Any ideas on what i am doing wrong?  Sorry! I am a newbie....
>>>>
>>>> Ruel Loehr
>>>>
>>>>
>>>>
>>>>
>>>>     
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>>
>>>   
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>>
>>  
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
>
>




Mime
View raw message