You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Warner Onstine <sw...@warneronstine.com> on 2002/07/13 08:37:54 UTC

fulcrum build failure

Hi all,
I'm having a problem building fulcrum with maven b4. Initially I was getting
an error regarding commons-lang. This was solved by manually downloading the
latest dev jar from maven b5 and dropping it in my lib.repo.

Now, a large majority of the unit tests are failing (mostly in regards to
the crypto service) and am unable to build the jar for deployment. I'm
trying to add in some debug info for intake so I need to build my own jar
for testing (I'll contribute patches once I get something relatively clean
as I think it would be good to have some intake debugging available for
others ;-).

Does Fulcrum build with maven b4?

-warner

+warner onstine+


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: fulcrum build failure

Posted by Warner Onstine <sw...@warneronstine.com>.
That did the trick. I have a patch for project.xml to make it more in-line
with the other Maven projects, but I'll submit it when I do the intake
patch.

-warner

----- Original Message -----
From: "Henning P. Schmiedehausen" <hp...@intermeta.de>
Newsgroups: hometree.jakarta.turbine.dev
To: <tu...@jakarta.apache.org>
Sent: Saturday, July 13, 2002 3:45 AM
Subject: Re: fulcrum build failure


> "Warner Onstine" <sw...@warneronstine.com> writes:
>
> >Hi all,
> >I'm having a problem building fulcrum with maven b4. Initially I was
getting
> >an error regarding commons-lang. This was solved by manually downloading
the
> >latest dev jar from maven b5 and dropping it in my lib.repo.
>
> Hi,
>
> I just pulled current turbine-fulcrum from CVS and tried with a fresh
> maven b4.
>
> You're right, it doesn't build. The problems:
>
> - you need the activation jar.
>   Get it from http://java.sun.com/products/javabeans/glasgow/jaf.html
>   There is now 1.0.2, copy it into your lib.repo and change the line
>   saying <version>1.0.1</version> right under <id>activation</id> to
>   <version>1.0.2</version>
>
> I checked in updated project.xml and jars.list to fix the commons-lang
> problem and reflect the activation update.
>
> I also updated the jars on jakarta.
>
> Jason, all:
>
> I updated the non-distributeable-jars.list file on jakarta so that it
> includes 1.0.2, too. Is this version-controlled somewhere? I found no
> repository for this, so I did it by hand in the
> /x2/www/jakarta.apache.org/turbine/jars directory.
>
> I put the current commons-lang-1.0-dev version there.
>
> I put the cryptix32.jar there.
>
> Warner: Please update your CVS tree, do a ant maven:clean and then
> ant.  It now should definitely build with maven b4 (I use b4 all the
> time).
>
> If you get loader constraints violation exceptions in the xmlrpc test,
> please add
>
> maven.junit.fork = true
>
> to your ~/build.properties. At least I need this all the time (Ant
> 1.5beta2, JDK 1.3.1_02 on RedHat Linux).
>
> >Does Fulcrum build with maven b4?
>
> I put a "yes, it does now" here. :-)
>
> ls -la target/fulcrum-3.0-b2-dev.jar
> -rw-r--r--    1 henning  users      340044 Jul 13 12:40
target/fulcrum-3.0-b2-dev.jar
>
>
> Regards
> Henning
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
> INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de
>
> Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
> D-91054 Buckenhof     Fax.: 09131 / 50654-20
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: fulcrum build failure

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Warner Onstine" <sw...@warneronstine.com> writes:

>Hi all,
>I'm having a problem building fulcrum with maven b4. Initially I was getting
>an error regarding commons-lang. This was solved by manually downloading the
>latest dev jar from maven b5 and dropping it in my lib.repo.

Hi,

I just pulled current turbine-fulcrum from CVS and tried with a fresh
maven b4.

You're right, it doesn't build. The problems:

- you need the activation jar. 
  Get it from http://java.sun.com/products/javabeans/glasgow/jaf.html
  There is now 1.0.2, copy it into your lib.repo and change the line
  saying <version>1.0.1</version> right under <id>activation</id> to
  <version>1.0.2</version>

I checked in updated project.xml and jars.list to fix the commons-lang
problem and reflect the activation update.

I also updated the jars on jakarta.

Jason, all: 

I updated the non-distributeable-jars.list file on jakarta so that it
includes 1.0.2, too. Is this version-controlled somewhere? I found no
repository for this, so I did it by hand in the
/x2/www/jakarta.apache.org/turbine/jars directory.

I put the current commons-lang-1.0-dev version there.

I put the cryptix32.jar there.

Warner: Please update your CVS tree, do a ant maven:clean and then
ant.  It now should definitely build with maven b4 (I use b4 all the
time).

If you get loader constraints violation exceptions in the xmlrpc test,
please add

maven.junit.fork = true

to your ~/build.properties. At least I need this all the time (Ant
1.5beta2, JDK 1.3.1_02 on RedHat Linux).

>Does Fulcrum build with maven b4?

I put a "yes, it does now" here. :-)

ls -la target/fulcrum-3.0-b2-dev.jar
-rw-r--r--    1 henning  users      340044 Jul 13 12:40 target/fulcrum-3.0-b2-dev.jar


	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: fulcrum build failure

Posted by Warner Onstine <sw...@warneronstine.com>.
Thanks Henning, I'll check it out tonight.

-warner

----- Original Message -----
From: "Henning P. Schmiedehausen" <hp...@intermeta.de>
Newsgroups: hometree.jakarta.turbine.dev
To: <tu...@jakarta.apache.org>
Sent: Monday, July 15, 2002 1:18 AM
Subject: Re: fulcrum build failure


> "Warner Onstine" <sw...@warneronstine.com> writes:
>
> >More build errors:
>
> >The b4 build appears to leave some classes out of the jar file, namely
> >o.a.f.security.impl.TurbineAccessControlList
> >taking a quick spin it appears to be leaving out all the generated
classes
> >(I'm assuming).
>
> My bad. I was checking in my implementation -> interface, I forgot to
> actually cvs add the file. As some of you found out, the one in
> proposals is the same code (just some blank and formatting changes to
> reduce the number of checkstyle errors).
>
> >Trying a b5 build gives the following error:
>
> >[ERROR] File......
> >/Users/warner/cvs/OpenSource/jakarta-turbine-fulcrum/maven.xml
> >[ERROR] Element... taskdef
> >[ERROR] Line...... 6
> >[ERROR] Column.... 60
> >[ERROR] taskdef class org.apache.torque.task.TorqueDataModelTask cannot
be
> >found File:
/Users/warner/cvs/OpenSource/jakarta-turbine-fulcrum/maven.xml
> >At tag <taskdef>: line: 6 column: 60
> >BUILD SUCCESSFUL
> >Total time: 16 seconds
>
> Hm. That is up to Jason to fix.
>
> Regards
> Henning
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
> INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de
>
> Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
> D-91054 Buckenhof     Fax.: 09131 / 50654-20
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: fulcrum build failure

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Warner Onstine" <sw...@warneronstine.com> writes:

>More build errors:

>The b4 build appears to leave some classes out of the jar file, namely
>o.a.f.security.impl.TurbineAccessControlList
>taking a quick spin it appears to be leaving out all the generated classes
>(I'm assuming).

My bad. I was checking in my implementation -> interface, I forgot to
actually cvs add the file. As some of you found out, the one in
proposals is the same code (just some blank and formatting changes to
reduce the number of checkstyle errors).

>Trying a b5 build gives the following error:

>[ERROR] File......
>/Users/warner/cvs/OpenSource/jakarta-turbine-fulcrum/maven.xml
>[ERROR] Element... taskdef
>[ERROR] Line...... 6
>[ERROR] Column.... 60
>[ERROR] taskdef class org.apache.torque.task.TorqueDataModelTask cannot be
>found File: /Users/warner/cvs/OpenSource/jakarta-turbine-fulcrum/maven.xml
>At tag <taskdef>: line: 6 column: 60
>BUILD SUCCESSFUL
>Total time: 16 seconds

Hm. That is up to Jason to fix.

	Regards
		Henning
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: fulcrum build failure

Posted by Warner Onstine <sw...@warneronstine.com>.
More build errors:

The b4 build appears to leave some classes out of the jar file, namely
o.a.f.security.impl.TurbineAccessControlList
taking a quick spin it appears to be leaving out all the generated classes
(I'm assuming).

Trying a b5 build gives the following error:

[ERROR] File......
/Users/warner/cvs/OpenSource/jakarta-turbine-fulcrum/maven.xml
[ERROR] Element... taskdef
[ERROR] Line...... 6
[ERROR] Column.... 60
[ERROR] taskdef class org.apache.torque.task.TorqueDataModelTask cannot be
found File: /Users/warner/cvs/OpenSource/jakarta-turbine-fulcrum/maven.xml
At tag <taskdef>: line: 6 column: 60
BUILD SUCCESSFUL
Total time: 16 seconds

This happens if I specify project-b5.xml or not. Right now I can't get a jar
built that just works, so I can't test my new Intake debug stuff. If someone
can help with this I can at least attempt to figure out why Intake isn't
working in my instance (see my post on user if interested).

-warner

----- Original Message -----
From: "Jason van Zyl" <ja...@zenplex.com>
To: "Turbine Developers List" <tu...@jakarta.apache.org>
Sent: Saturday, July 13, 2002 7:14 AM
Subject: Re: fulcrum build failure


> On Sat, 2002-07-13 at 02:37, Warner Onstine wrote:
> > Hi all,
> > I'm having a problem building fulcrum with maven b4. Initially I was
getting
> > an error regarding commons-lang. This was solved by manually downloading
the
> > latest dev jar from maven b5 and dropping it in my lib.repo.
> >
> > Now, a large majority of the unit tests are failing (mostly in regards
to
> > the crypto service) and am unable to build the jar for deployment. I'm
> > trying to add in some debug info for intake so I need to build my own
jar
> > for testing (I'll contribute patches once I get something relatively
clean
> > as I think it would be good to have some intake debugging available for
> > others ;-).
> >
> > Does Fulcrum build with maven b4?
>
> I don't think so. I have everything working with b5 except for fulcrum.
> Just trying to figure the source generation. I'll try again today
> sometime.
>
> > -warner
> >
> > +warner onstine+
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> --
> jvz.
>
> Jason van Zyl
> jason@apache.org
> http://tambora.zenplex.org
>
> In short, man creates for himself a new religion of a rational
> and technical order to justify his work and to be justified in it.
>
>   -- Jacques Ellul, The Technological Society
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: fulcrum build failure

Posted by Jason van Zyl <ja...@zenplex.com>.
On Sat, 2002-07-13 at 02:37, Warner Onstine wrote:
> Hi all,
> I'm having a problem building fulcrum with maven b4. Initially I was getting
> an error regarding commons-lang. This was solved by manually downloading the
> latest dev jar from maven b5 and dropping it in my lib.repo.
> 
> Now, a large majority of the unit tests are failing (mostly in regards to
> the crypto service) and am unable to build the jar for deployment. I'm
> trying to add in some debug info for intake so I need to build my own jar
> for testing (I'll contribute patches once I get something relatively clean
> as I think it would be good to have some intake debugging available for
> others ;-).
> 
> Does Fulcrum build with maven b4?

I don't think so. I have everything working with b5 except for fulcrum.
Just trying to figure the source generation. I'll try again today
sometime.
 
> -warner
> 
> +warner onstine+
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jason@apache.org
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>