Re: Indexed Disk Cache Configuration

2004-01-16 Thread Christian Kreutzfeldt
 Be aware that in the version you have there still might be a bug as that
the
 dipose method of the disk cache may not be called and the key file not
 written. Somebody posted this hotfix a while ago (Christian!?), though
maybe
 it's already included. If not, Aaron, you might want to look over this.
Jep, the alive flag is set to false before the keys can be written to disk.
Unfortunately
the writing method depends on that flag.

cya,
  Christian


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Strange intake issue

2004-01-16 Thread oron ogdan
Hi David

I think since intake gathers the info form the form input fields, it's not
surprising step 3 will not show the info, as there is no such filed in step
2. Your best bet would be to mapTo object that you can save on the user's
temp hash on the session.

Oron

http://netada.co.uk


-Original Message-
From: David Demner [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 6:00 AM
To: [EMAIL PROTECTED]
Subject: Strange intake issue


I would like to create a 'wizard' using intake to do the input validation
after each step of the wizard.  I currently have the same intake group to
hold all the data from the wizard (since I would like to store all the data
in one table).  I'm having a weird issue, though.

First, some background code:


Wizard step 1:
form name=employee method=post
action=$link.setPage(screens,Employee2.vm)
  #set ($employeeGroup = $intake.Employee.Default)

  input type=text size=35 name=$employeeGroup.FirstName.Key
value=$!employeeGroup.FirstName class=smallIO
  input type=submit name=eventSubmit_doNext value=Next /

  $intake.declareGroups()

/form
-
Wizard steps 2  3:
form name=employee method=post
action=$link.setPage(screens,Employee3.vm)

  #set ($employeeGroup = $intake.Employee.Default)

  here $employeeGroup.FirstName here
  input type=submit name=eventSubmit_doNext value=Next /

  $intake.declareGroups()
/form
---
When I click Next to go to step 2, the $employeeGroup.FirstName is populated
to whatever I set in step 1.  But when I click next to go to step 3, the
$employeeGroup.FirstName is blank.  So what happens to it??  I would have
thought that either data would not show up in either step (showing that
intake wasn't really designed for this), or show up in both.

(I thought of using hidden fields to store the data that isn't on the
current form, but the problem I have is some of the data in steps 2  3 is
required, so intake gives an error after step 1 for data in step 2)

Can you see something dumb that I did?  What do other people do for a
validated wizard type interface?

Thanks!

David



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Handling of too big fileupload's - exception?

2004-01-16 Thread Chris Joelly
Hello!

i got the following exception when uploading a file with turbine if
the file is larger then spezifgied in turbine.properties.

how can i handle this exception? i want to display a error message to the user at 
least ...

thx, Chris

[Fri Jan 16 13:16:51 CET 2004] -- ERROR -- 
Exception:  org.apache.turbine.util.TurbineException: File upload failed: the 
request was rejected because it's size exceeds allowed range
Stack Trace follows:
org.apache.turbine.util.TurbineException: the request was rejected because 
it's size exceeds allowed range
at 
org.apache.turbine.services.upload.TurbineUploadService.parseRequest(TurbineUploadService.java:121)
at 
org.apache.turbine.services.upload.TurbineUpload.parseRequest(TurbineUpload.java:174)
at 
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultParameterParser.java:188)
rethrown as org.apache.turbine.util.TurbineException: File upload failed: the request 
was rejected because it's size exceeds allowed range
at 
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultParameterParser.java:192)
at 
org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(DefaultTurbineRunData.java:493)
at org.apache.turbine.Turbine.doGet(Turbine.java:472)
at org.apache.turbine.Turbine.doPost(Turbine.java:658)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)



-- 
mit freundlichen Grüßen / with kind regards
 
Ing. Christian Jölly @ Solutions
unycom  Information Technology Services GmbH
A-8042 Graz | Schmiedlstraße 1 / III

Tel: ++43 (0)316 / 818 828 - 30
Fax: ++43 (0)316 / 818 828 - 38
[EMAIL PROTECTED]
http://www.unycom.com

Diese Spezies träumt seit mindestens 2000 Jahren von einer
Gesellschaftsordnung in der alle Menschen zufrieden leben
können. Bisher hat sie aber nur Gesetzeswerke produziert, die immer
wieder Ungerechtigkeit hervorriefen. Die Gesetze, sprich die
gesellschaftlichen Normen, werden von UNS gemacht. 
-- Günter Cave

-
To 

RE: turbine security - viewing access in template

2004-01-16 Thread Mark Lybarger
i don't know if i have default group setup or not, but it doesn't seem to work i'm 
using:

#set ($role = Event)
#if ($data.getACL().hasRole($role))
User has role $role
br
#end

where the user definately had that role in all their groups. and nothing is displayed. 
 i try to add a group but again nothing:

#set ($role = Event)
#set ($group = Admin)
#if ($data.getACL().hasRole($role,$group))
User has role $role, $group
br
#end

i am able to use the following:

#set ($permission = entry)
#set ($group = Admin)
#if ( $data.getACL().hasPermission(entry,Admin) )
User has permission ${permission}, group ${group}

#end

and it displays that the user has a particular permission in a group. does the 
getACL().hasRole( role, group) not work the way i'm using it?

 -Original Message-
 From: Jeff Painter [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 14, 2004 11:03 AM
 To: Turbine Users List
 Subject: RE: turbine security - viewing access in template
 
 
 
 in your velocity template you can do the following
 
   select
   #if ( $data.getACL().hasRole(sales) || 
 $data.getACL().hasRole(shipping) )
 option value=0shipping/option
   #end
 
   #if ( $data.getACL().hasRole(admin) )
 option value=1admin/option
   #end
   /select
 
 On Wed, 14 Jan 2004, Mark Lybarger wrote:
 
  
  
-Original Message-
   From: Mark Lybarger  
 
   basicaly, i'm after a method which i can check a users 
   security (see if user's group has a particular role) from 
   within a velocity template.  i have combo box that i need to 
   display if the user is of a c ertain security, otherwise, i 
   need to disable the combo box and have the default option be 
   the selected option. ie, certain users can override shipping 
   costs when submitting an order or something like that. 
   
   thanks!
   
   ~mark
   
 
 
 Regards,
 
 Jeffery Painter
 
 - --
 [EMAIL PROTECTED] http://kiasoft.com
 PGP FP: 9CE8 83A2 33FA 32B1 0AB1  4E62 E4CB E4DA 5913 EFBC
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (GNU/Linux)
  
 iD8DBQE/qEQE5Mvk2lkT77wRAnMJAJ9vJ6qOkg/mvqqIpz7troCEQJ8bFACglu/U
 YNXabx7DZOV2Hd9LwSTmGpY=
 =dWiu
 -END PGP SIGNATURE-
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004
  
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: turbine security - viewing access in template

2004-01-16 Thread Jeff Painter
On Fri, 16 Jan 2004, Mark Lybarger wrote:

 i don't know if i have default group setup or not, but it doesn't seem to work i'm 
 using:
 
 #set ($role = Event)
 #if ($data.getACL().hasRole($role))
   User has role $role
   br
 #end
 
 where the user definately had that role in all their groups. and nothing is 
 displayed.  i try to add a group but again nothing:
 
 #set ($role = Event)
 #set ($group = Admin)
 #if ($data.getACL().hasRole($role,$group))
   User has role $role, $group
   br
 #end
 
 i am able to use the following:
 
 #set ($permission = entry)
 #set ($group = Admin)
 #if ( $data.getACL().hasPermission(entry,Admin) )
   User has permission ${permission}, group ${group}
   
 #end
 
 and it displays that the user has a particular permission in a group. does the 
 getACL().hasRole( role, group) not work the way i'm using it?
 


I have only used role based security in my applications, so I'm not sure 
if you are trying to assign users to a group and then roles to a group

 - user - group - multiple roles

in my TURBINE_USER_GROUP_ROLE table I have multiple roles linked to 
individual users

 - user - multiple roles

+-+--+-+
| USER_ID | GROUP_ID | ROLE_ID |
+-+--+-+
|   0 |1 |   1 |
|   0 |1 | 100 |
|   0 |1 | 101 |
|   0 |1 | 102 |
|   0 |1 | 103 |

and the hasRole(roleName) works for me in that way. hopefully this is of 
some help


-- 
Regards,

Jeffery Painter

- --
[EMAIL PROTECTED] http://kiasoft.com
PGP FP: 9CE8 83A2 33FA 32B1 0AB1  4E62 E4CB E4DA 5913 EFBC

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
 
iD8DBQE/qEQE5Mvk2lkT77wRAnMJAJ9vJ6qOkg/mvqqIpz7troCEQJ8bFACglu/U
YNXabx7DZOV2Hd9LwSTmGpY=
=dWiu
-END PGP SIGNATURE-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Building Fulcrum - does it work for anyone?

2004-01-16 Thread Gerry Duprey
Howdy All,

I'm trying to build Fulcrum (well, I'm trying to use Turbine and then trying 
to integrate Hibernate, and then trying to use hibernate for security in 
turbine, etc, etc) so I can use the Hibernate security services that have been 
committed.

I have the latest maven installed (RC1) and it seems happy enough.

I used CVS to grab a copy of Fulcrum.  Then I followed the instructions on the
Fulcrum web site for building it 
(http://jakarta.apache.org/turbine/fulcrum/building.html -- rename src and add 
the -Dmaven.test.skip=true).  If I issue just the maven command

maven -Dmaven.test.skip=true

then it goes for a bit and when building the Configuration Impl complains:

BUILD FAILED
File.. file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/
Element... maven:reactor
Line.. 15
Column 32
Unable to obtain goal [java:compile] -- 
file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/configuration/impl/:4:37: 
attainGoal No goal [avalon:meta]

I really don't know much about Maven.  I've tried to read everything I can and 
other than other folks having problems, nothing seems relavant (or is a year 
or two old).  I've tried the multisite:project mentioned in the web page and 
maven complains that doesn't exist in the project.  I've tried jar and jar:jar 
(I have no idea of the diff between the two are, but I've seen both mentioned, 
just trying anything I can) and with jar it quickly does a bunch of steps but 
doesn't seem to actually compile anything (nothing in target/classes).

Any help on how to build this would be appreciated.  I know folks are working 
on all this and I'm doing my best to keep a stiff upper lip over the problems, 
but I just can't seem to get anything to work (along the general lines of 
trying to get hibernate and security to work in turbine).  A few pointers 
would be really helpful.

Thanks

Gerry

--
Gerry Duprey

SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819
Visit us Online at www.Schools-OPEN.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Building Fulcrum - does it work for anyone?

2004-01-16 Thread Eric Pugh
Okay..   Maven is great, but can also be a pain in that now people are
starting to extend maven, but the ability to download and install plugins
hasn't been fully baked in yet.  The problem you are running into is that
you don't have the avalon meta plugin installed.  Go to
http://www.ibiblio.org/maven/avalon-meta/plugins/ and grab the latest
(1.3.2) version and put the jar in your maven/plugins/ directory and then
try the build...

If you have build maven post RC1, then you can do:
maven
plugin:download -DartifactId=avalon-meta-plugin -DgroupId=avalon-meta -Dvers
ion=1.3.2
and it will install...

I will update the startup directions!

Eric

 -Original Message-
 From: Gerry Duprey [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 16, 2004 7:47 PM
 To: Turbine Users List
 Subject: Building Fulcrum - does it work for anyone?


 Howdy All,

 I'm trying to build Fulcrum (well, I'm trying to use Turbine
 and then trying
 to integrate Hibernate, and then trying to use hibernate for
 security in
 turbine, etc, etc) so I can use the Hibernate security
 services that have been
 committed.

 I have the latest maven installed (RC1) and it seems happy enough.

 I used CVS to grab a copy of Fulcrum.  Then I followed the
 instructions on the
 Fulcrum web site for building it
 (http://jakarta.apache.org/turbine/fulcrum/building.html --
 rename src and add
 the -Dmaven.test.skip=true).  If I issue just the maven command

 maven -Dmaven.test.skip=true

 then it goes for a bit and when building the Configuration
 Impl complains:


 BUILD FAILED
 File..
 file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/
 Element... maven:reactor
 Line.. 15
 Column 32
 Unable to obtain goal [java:compile] --
 file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/co
nfiguration/impl/:4:37:
attainGoal No goal [avalon:meta]

I really don't know much about Maven.  I've tried to read everything I can
and
other than other folks having problems, nothing seems relavant (or is a year
or two old).  I've tried the multisite:project mentioned in the web page and
maven complains that doesn't exist in the project.  I've tried jar and
jar:jar
(I have no idea of the diff between the two are, but I've seen both
mentioned,
just trying anything I can) and with jar it quickly does a bunch of steps
but
doesn't seem to actually compile anything (nothing in target/classes).

Any help on how to build this would be appreciated.  I know folks are
working
on all this and I'm doing my best to keep a stiff upper lip over the
problems,
but I just can't seem to get anything to work (along the general lines of
trying to get hibernate and security to work in turbine).  A few pointers
would be really helpful.

Thanks

Gerry

--
Gerry Duprey

SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819

Visit us Online at www.Schools-OPEN.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Building Fulcrum - does it work for anyone?

2004-01-16 Thread Eric Pugh
I looked into it, and actually the problem was that the site docs online are
really out of date compared to what is in CVS..  I am going to regenerate
them, but in the mean time, check out /xdocs/building.xml for the non
HTMLiezed version..

Eric

 -Original Message-
 From: Gerry Duprey [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 16, 2004 7:47 PM
 To: Turbine Users List
 Subject: Building Fulcrum - does it work for anyone?


 Howdy All,

 I'm trying to build Fulcrum (well, I'm trying to use Turbine
 and then trying
 to integrate Hibernate, and then trying to use hibernate for
 security in
 turbine, etc, etc) so I can use the Hibernate security
 services that have been
 committed.

 I have the latest maven installed (RC1) and it seems happy enough.

 I used CVS to grab a copy of Fulcrum.  Then I followed the
 instructions on the
 Fulcrum web site for building it
 (http://jakarta.apache.org/turbine/fulcrum/building.html --
 rename src and add
 the -Dmaven.test.skip=true).  If I issue just the maven command

 maven -Dmaven.test.skip=true

 then it goes for a bit and when building the Configuration
 Impl complains:


 BUILD FAILED
 File..
 file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/
 Element... maven:reactor
 Line.. 15
 Column 32
 Unable to obtain goal [java:compile] --
 file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/co
nfiguration/impl/:4:37:
attainGoal No goal [avalon:meta]

I really don't know much about Maven.  I've tried to read everything I can
and
other than other folks having problems, nothing seems relavant (or is a year
or two old).  I've tried the multisite:project mentioned in the web page and
maven complains that doesn't exist in the project.  I've tried jar and
jar:jar
(I have no idea of the diff between the two are, but I've seen both
mentioned,
just trying anything I can) and with jar it quickly does a bunch of steps
but
doesn't seem to actually compile anything (nothing in target/classes).

Any help on how to build this would be appreciated.  I know folks are
working
on all this and I'm doing my best to keep a stiff upper lip over the
problems,
but I just can't seem to get anything to work (along the general lines of
trying to get hibernate and security to work in turbine).  A few pointers
would be really helpful.

Thanks

Gerry

--
Gerry Duprey

SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819

Visit us Online at www.Schools-OPEN.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Building Fulcrum - does it work for anyone?

2004-01-16 Thread Eric Pugh


 -Original Message-
 From: Gerry Duprey [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 16, 2004 8:56 PM
 To: Turbine Users List
 Subject: Re: Building Fulcrum - does it work for anyone?


 Howdy Eric,

 That helped a lot.  Other things I needed to do:

 1) Javamail from Sun is 1.3.1 but maven wants 1.3, so I
 downloaded 1.3.1,
 added it to eh maven repository and symlinked it to javamail-1.3.jar


 2) jdbc-2.0.jar needed to be downloaded manually and
 installed into the maven
 repository (though I'm pretty sure I read that somewhere when
 I started this).

 3) Maven was unable to download any of these, so I had to
 manually find the
 following:
 ehcache-0.6.jar (note: 0.7 is current version, so I symlinked it)
I updated to 0.7 and added it to the repo at
http://jakarta.apache.org/turbine/repo so try again.

 I can't find these anywhere (any ideas)?
 hibernate-avalon-api-0.4.jar
 hibernate-avalon-impl-0.4.jar
same, updated..



 It claims it doesn't have this, but I do have it in my maven
 repository
 odmg-3.0.jar
can you send me the error?  shoud be in
maven/repository/odmg/jars/odmg-3.0.jar...

 Gerry


 Eric Pugh wrote:
  Okay..   Maven is great, but can also be a pain in that now
 people are
  starting to extend maven, but the ability to download and
 install plugins
  hasn't been fully baked in yet.  The problem you are
 running into is that
  you don't have the avalon meta plugin installed.  Go to
  http://www.ibiblio.org/maven/avalon-meta/plugins/ and grab
 the latest
  (1.3.2) version and put the jar in your maven/plugins/
 directory and then
  try the build...
 
  If you have build maven post RC1, then you can do:
  maven
  plugin:download -DartifactId=avalon-meta-plugin
 -DgroupId=avalon-meta -Dvers
  ion=1.3.2
  and it will install...
 
  I will update the startup directions!
 
  Eric
 
 
 -Original Message-
 From: Gerry Duprey [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 16, 2004 7:47 PM
 To: Turbine Users List
 Subject: Building Fulcrum - does it work for anyone?
 
 
 Howdy All,
 
 I'm trying to build Fulcrum (well, I'm trying to use Turbine
 and then trying
 to integrate Hibernate, and then trying to use hibernate for
 security in
 turbine, etc, etc) so I can use the Hibernate security
 services that have been
 committed.
 
 I have the latest maven installed (RC1) and it seems happy enough.
 
 I used CVS to grab a copy of Fulcrum.  Then I followed the
 instructions on the
 Fulcrum web site for building it
 (http://jakarta.apache.org/turbine/fulcrum/building.html --
 rename src and add
 the -Dmaven.test.skip=true).  If I issue just the maven command
 
 maven -Dmaven.test.skip=true
 
 then it goes for a bit and when building the Configuration
 Impl complains:
 
 
 BUILD FAILED
 File..
 file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/
 Element... maven:reactor
 Line.. 15
 Column 32
 Unable to obtain goal [java:compile] --
 file:/usr/local/dev/jakarta/fulcrum/jakarta-turbine-fulcrum/co
 
  nfiguration/impl/:4:37:
  attainGoal No goal [avalon:meta]
 
  I really don't know much about Maven.  I've tried to read
 everything I can
  and
  other than other folks having problems, nothing seems
 relavant (or is a year
  or two old).  I've tried the multisite:project mentioned in
 the web page and
  maven complains that doesn't exist in the project.  I've
 tried jar and
  jar:jar
  (I have no idea of the diff between the two are, but I've seen both
  mentioned,
  just trying anything I can) and with jar it quickly does a
 bunch of steps
  but
  doesn't seem to actually compile anything (nothing in
 target/classes).
 
  Any help on how to build this would be appreciated.  I know
 folks are
  working
  on all this and I'm doing my best to keep a stiff upper lip over the
  problems,
  but I just can't seem to get anything to work (along the
 general lines of
  trying to get hibernate and security to work in turbine).
 A few pointers
  would be really helpful.
 
  Thanks
 
  Gerry
 
  --
  Gerry Duprey
  
  SchoolsOPEN, LLC
  123 North Ashley, Suite 120
  Ann Arbor, MI 48104
  Phone (877) 483-1944 Ext. 401
  Fax (734) 661-0819
 
  Visit us Online at www.Schools-OPEN.com
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]

 --
 Gerry Duprey
 
 SchoolsOPEN, LLC
 123 North Ashley, Suite 120
 Ann Arbor, MI 48104
 Phone (877) 483-1944 Ext. 401
 Fax (734) 661-0819

 Visit us Online at www.Schools-OPEN.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



Re: Building Fulcrum - does it work for anyone?

2004-01-16 Thread Gerry Duprey
Howdy,

Okay - here is a summary of things that are not included with Fulcrum but that
Fulcrum/maven need so far:
- The Maven-avalon plugin

- javamail-1.3.jar
download from java site, rename javamail-1.3.1.jar to javamail-1.3.jar
- jdbc-2.0.jar
Not sure where I found this :-)
- ehcache-0.6.jar
Downloaded from ehcache site, rename ehcache-0.7.jar ehcache-0.6.jar
- hibernate-avalon-api-0.4.jar
- hibernate-avalon-impl-0.4.jar
Use CVS to checkout HibernateExt from Hibernate CVS and build to
create these.  Then install in maven repositiory under hibernate/jars
- mckoidb
Downloaded it and rename the jar to mckoidb-1.0.2.jar
- hibernate-cglib-2.1.1.jar
I can't find this anywhere.  It's not in Hibernate2, it's
not in hibernateExt.  Is this maybe a typo and really it's
cglib (which hibernate uses) that is required?
- jta-hib2.1.jar
I cannot find this either.  In fact, I can't find this
anywhere (even google doesn't bring up any references).
So I'm sort of stalled until I can find those.Any suggestions?

Gerry

--
Gerry Duprey

SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819
Visit us Online at www.Schools-OPEN.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Building Fulcrum - does it work for anyone?

2004-01-16 Thread Gerry Duprey
Howdy Eric,

It seems our emails crossed.

To test out the current state of the build, I cleared everything from my Maven 
respository I downloaded today (except jdbc-2.0.jar) and purged my CVS 
snapshot of the fulcrum and re-checkedout it.

Here's what I found missing:
* javamail-1.3.jar
I know you have to manually download this.  Can the version be updated
to 1.3.1 since that is what the javasoft site is offering?  Also, not
sure if the notes belong here or not, but Javasoft/Sub sends this called
mail.jar and it needs to be renamed to javamail-1.3.1.jar
* jdbc-2.0.jar
I think this is a known need for maven -- just noting for completeness
* mckoidb-1.0.2.jar
Maven could not download this (and didn't have any URL to offer either)
I downloaded it into my repository in as mckoi/jars/mckoidb-1.0.2.jar
* hibernate-cglib-2.1.1.jar
Maven could not find this and I coud not find it either (in the hibernate
site, hibernateext or anywhere else).  Might this really just be
cglib.jar?
* jta-hib2.1.jar
Maven could not find this and I couldn't find any ref anywhere.  Even
goodle (which usually finds a few mailing list references) crapped out
and didn't find anything
* It did download ehcache-0-7.jar now, though it puts it in the hibernate/jars
  location of the repository.  I would have thought it would be in
  ehcache/jars/ehcache-0.7.jar, though I realize it is related to hibernate
So right now, hibernate-cglib-2.1.1.jar and jta-hib2.1.jar are holding things 
up.  Any suggestions where to get them?

Thanks,

Gerry

--
Gerry Duprey

SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819
Visit us Online at www.Schools-OPEN.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


building fulcrum

2004-01-16 Thread Mike Manner
Hi

Is it possible to compile Fulcrum without having build Turbine ?

When I run maven jar against fulcrum I obtain compilation errors showing 
lack for classes :

org.apache.torque.om.NumberKey
org.apache.torque.om.Persistent
javax.servlet.http.HttpServletRequest (the servlet api is not included 
in maven ?)

etc.

so in order to compile and use the fulcrum security component I had to 
extract each package I need out of the cvs and build them in an eclipse 
project.

But I would prefer have a fulcrum jar.

Thanks for help





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Building Fulcrum - does it work for anyone?

2004-01-16 Thread Mike Manner
Hi

for hibernate-cglib-2.1.1.jar and jta-hib2.1.jar
you can use cglib2.jar and jta.jar that come with hibernate libs.
Mike



Gerry Duprey wrote:

Howdy,

Okay - here is a summary of things that are not included with Fulcrum 
but that
Fulcrum/maven need so far:

- The Maven-avalon plugin

- javamail-1.3.jar
download from java site, rename javamail-1.3.1.jar to 
javamail-1.3.jar

- jdbc-2.0.jar
Not sure where I found this :-)
- ehcache-0.6.jar
Downloaded from ehcache site, rename ehcache-0.7.jar ehcache-0.6.jar
- hibernate-avalon-api-0.4.jar
- hibernate-avalon-impl-0.4.jar
Use CVS to checkout HibernateExt from Hibernate CVS and build to
create these.  Then install in maven repositiory under hibernate/jars
- mckoidb
Downloaded it and rename the jar to mckoidb-1.0.2.jar
- hibernate-cglib-2.1.1.jar
I can't find this anywhere.  It's not in Hibernate2, it's
not in hibernateExt.  Is this maybe a typo and really it's
cglib (which hibernate uses) that is required?
- jta-hib2.1.jar
I cannot find this either.  In fact, I can't find this
anywhere (even google doesn't bring up any references).
So I'm sort of stalled until I can find those.Any suggestions?

Gerry





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Invoking a pull tool method on click

2004-01-16 Thread Harriett Y. Xing (HYX)
Hi,

I have a pull tool $adminMenu with method toggleFolderOpen().

What I would like to do is to invoke the method whenever a user clicks on
the following link.  I would like for the user to stay on the same screen
instead of being redirected to a different page.

a href=invoking $adminMenu.toggleFolderOpen() Questions /a 

I know this is kind of convoluted.  I am trying to implement a treeview as
the navigation menu.  $adminMenu.toggleFolderOpen() updates the variable
that tracks if the folder is open or collapsed.


  
Is there a way to accomplish this?

Thanks.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Building Fulcrum - does it work for anyone?

2004-01-16 Thread Gerry Duprey
Howdy Mike,

I sort of suspected that.  It would be nice if the build process used the 
correct .jar names though - even if they can't be downloaded - so folks can 
figure out what to copy over.

Thanks - I'll see how much further I can get :-)

Gerry

Mike Manner wrote:
Hi

for hibernate-cglib-2.1.1.jar and jta-hib2.1.jar
you can use cglib2.jar and jta.jar that come with hibernate libs.
Mike



Gerry Duprey wrote:

Howdy,

Okay - here is a summary of things that are not included with Fulcrum 
but that
Fulcrum/maven need so far:

- The Maven-avalon plugin

- javamail-1.3.jar
download from java site, rename javamail-1.3.1.jar to 
javamail-1.3.jar

- jdbc-2.0.jar
Not sure where I found this :-)
- ehcache-0.6.jar
Downloaded from ehcache site, rename ehcache-0.7.jar ehcache-0.6.jar
- hibernate-avalon-api-0.4.jar
- hibernate-avalon-impl-0.4.jar
Use CVS to checkout HibernateExt from Hibernate CVS and build to
create these.  Then install in maven repositiory under hibernate/jars
- mckoidb
Downloaded it and rename the jar to mckoidb-1.0.2.jar
- hibernate-cglib-2.1.1.jar
I can't find this anywhere.  It's not in Hibernate2, it's
not in hibernateExt.  Is this maybe a typo and really it's
cglib (which hibernate uses) that is required?
- jta-hib2.1.jar
I cannot find this either.  In fact, I can't find this
anywhere (even google doesn't bring up any references).
So I'm sort of stalled until I can find those.Any suggestions?

Gerry





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Gerry Duprey

SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819
Visit us Online at www.Schools-OPEN.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Fulcrum Build Results -- REVISED missing dependencies

2004-01-16 Thread Gerry Duprey
Howdy,

Okay - I am now able to build fulcrum (yeah!)

In terms of manual intervention, here is my revised list of things I had to do 
because Maven didn't know how to handle:

* javamail-1.3.jar
I know you have to manually download this.  Can the version be updated
to 1.3.1 since that is what the javasoft site is offering?  Also, not
sure if the notes belong here or not, but Javasoft/Sun distributes this
named as mail.jar and it needs to be renamed to javamail-1.3.1.jar
* jdbc-2.0.jar
I think this is a known need for maven -- just noting for
completeness
* mckoidb-1.0.2.jar
Maven could not download this (and didn't have any URL to offer either)
I downloaded it into my repository in as mckoi/jars/mckoidb-1.0.2.jar
* hibernate-cglib-2.1.1.jar
As Mike pointed out, this is really the cglib2.jar from hibernate
and I can imagine either documenting the need to do this manually
or adding it to the downloadables Maven can do.  I think it would
be really helpful, at a minimum, to change the name as cglib2.jar
and put it under cglib/jars in the repositoru as it is a seperate
project from hibernate.
* jta-hib2.1.jar
Again, Mike pointed out this is really just the lib/jta.jar file from
the hibernate install.  JTA seems to have some other issues (maybe like
javamail), but perhaps a closer to actual name and some docs on the
manual intervention required would help.
* ehcache-0.7.jar
The refresh Maven stuff did successfully download this, though it
was stored in the hibernate/jars directory of the Maven repository
and since it's not actually a project directly under Hibernate
(though related), I might suggest it really belongs under ehcache.
But, I'm happy to report, I was able to build it.  Now I can really start 
having some fun :-)

Gerry

--
Gerry Duprey

SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819
Visit us Online at www.Schools-OPEN.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]