You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Schmitz, Jeffrey A" <Je...@boeing.com> on 2007/03/01 21:27:45 UTC

org.apache.cocoon.caching is missing from build

I'm still back where I was, tomcat can't find the org/apache/cocoon/caching/CacheableProcessingComponent class.

When I look in .../cocoon/WEB-INF/classes/org/apache/cocoon I see several packages:

Acting
Components
Faces
Forms
Ojb
Samples

But I don't see caching.  I'm thinking I need this "caching" package, but I don't know where to get it.  I just did a build of cocoon-2.1.10, but it didn't show up as part of the build.   Any ideas?

Thanks,
Jeff

-----Original Message-----
From: Grzegorz Kossakowski [mailto:grek@tuffmail.com] 
Sent: Thursday, March 01, 2007 2:01 PM
To: users@cocoon.apache.org
Subject: Re: Custom Transformer

Schmitz, Jeffrey A napisał(a):
> Sorry to be a pain, but the build still isn't working.
>
> What exactly does the JAVA_HOME need to be set to?  I'm setting it to:
>
> 'C:\Program Files\Java\jdk1.5.0_07'
>
> But it says it can't find tools.jar, or the javac compiler.  The 
> folder does exist, and tools.jar is in JAVA_HOME/lib and javac is in 
> JAVA_HOME/bin
>
>   
Oups, it always helped me under linux, not windows. I've confused things more than needed, sorry.
I've just tried svn checkout of 2.1.x and run:

G:\cocoon-2.1.x>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0

G:\cocoon-2.1.x>build
Buildfile: build.xml

prepare:
====================================================================
                 Apache Cocoon 2.1.11-dev [1999-2007] ====================================================================
 Building with Apache Ant version 1.6.5 compiled on June 2 2005
--------------------------------------------------------------------
 Using build file G:\cocoon-2.1.x\build.xml
--------------------------------------------------------------------
 Compiler options:
   - debug ......... [on]
   - optimize ...... [on]
   - deprecation ... [off]
====================================================================

compile-core:
Compiling jdk 1.4 core classes

[...]
BUILD SUCCESSFUL
Total time: 2 minutes 41 seconds

So it works as is, without any special adjustments. I cannot help you much with this issue as it's tightly related to your environment .
You should have started any work with having Cocoon's build working as it's crucial, really.

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: org.apache.cocoon.caching is missing from build

Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
Schmitz, Jeffrey A napisał(a):
> OK, it built, no errors, but still no caching package.  I downloaded cocoon-2.1.10 just a couple days ago.  Perhaps there is a problem with the build file? 
>   
Try "build clean" before "build" and see if it helps. If still no 
success, get completely fresh source checkout and try the same.
It really must be something wrong with your environment...

PS. Please refrain from sending "intermediate" e-mails. They create 
unnecessary traffic. Try to dig into issue on your own and post when you 
are sure you have no options left.

-- 
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: org.apache.cocoon.caching is missing from build

Posted by "Schmitz, Jeffrey A" <Je...@boeing.com>.
OK, it built, no errors, but still no caching package.  I downloaded cocoon-2.1.10 just a couple days ago.  Perhaps there is a problem with the build file? 

-----Original Message-----
From: Schmitz, Jeffrey A 
Sent: Thursday, March 01, 2007 3:13 PM
To: users@cocoon.apache.org
Subject: RE: org.apache.cocoon.caching is missing from build

Yes, the src\java\org\apache\cocoon\caching directory is there.  I'll build again and lookout for any intermediate errors.

Thanks,
Jeff 

-----Original Message-----
From: Grzegorz Kossakowski [mailto:grek@tuffmail.com]
Sent: Thursday, March 01, 2007 3:08 PM
To: users@cocoon.apache.org
Subject: Re: org.apache.cocoon.caching is missing from build

Schmitz, Jeffrey A napisał(a):
> I'm still back where I was, tomcat can't find the org/apache/cocoon/caching/CacheableProcessingComponent class.
>
> When I look in .../cocoon/WEB-INF/classes/org/apache/cocoon I see several packages:
>
> Acting
> Components
> Faces
> Forms
> Ojb
> Samples
>
> But I don't see caching.  I'm thinking I need this "caching" package, but I don't know where to get it.  I just did a build of cocoon-2.1.10, but it didn't show up as part of the build.   Any ideas?
>
>   
You should have this directory:
build\cocoon\classes\org\apache\cocoon\caching

but first check if you have this directory:
src\java\org\apache\cocoon\caching

It's really weird. There is no way to exclude this package from the build so I assume that your source checkout is somehow broken.

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: org.apache.cocoon.caching is missing from build

Posted by "Schmitz, Jeffrey A" <Je...@boeing.com>.
Yes, the src\java\org\apache\cocoon\caching directory is there.  I'll build again and lookout for any intermediate errors.

Thanks,
Jeff 

-----Original Message-----
From: Grzegorz Kossakowski [mailto:grek@tuffmail.com] 
Sent: Thursday, March 01, 2007 3:08 PM
To: users@cocoon.apache.org
Subject: Re: org.apache.cocoon.caching is missing from build

Schmitz, Jeffrey A napisał(a):
> I'm still back where I was, tomcat can't find the org/apache/cocoon/caching/CacheableProcessingComponent class.
>
> When I look in .../cocoon/WEB-INF/classes/org/apache/cocoon I see several packages:
>
> Acting
> Components
> Faces
> Forms
> Ojb
> Samples
>
> But I don't see caching.  I'm thinking I need this "caching" package, but I don't know where to get it.  I just did a build of cocoon-2.1.10, but it didn't show up as part of the build.   Any ideas?
>
>   
You should have this directory:
build\cocoon\classes\org\apache\cocoon\caching

but first check if you have this directory:
src\java\org\apache\cocoon\caching

It's really weird. There is no way to exclude this package from the build so I assume that your source checkout is somehow broken.

--
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: org.apache.cocoon.caching is missing from build

Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
Schmitz, Jeffrey A napisał(a):
> I'm still back where I was, tomcat can't find the org/apache/cocoon/caching/CacheableProcessingComponent class.
>
> When I look in .../cocoon/WEB-INF/classes/org/apache/cocoon I see several packages:
>
> Acting
> Components
> Faces
> Forms
> Ojb
> Samples
>
> But I don't see caching.  I'm thinking I need this "caching" package, but I don't know where to get it.  I just did a build of cocoon-2.1.10, but it didn't show up as part of the build.   Any ideas?
>
>   
You should have this directory:
build\cocoon\classes\org\apache\cocoon\caching

but first check if you have this directory:
src\java\org\apache\cocoon\caching

It's really weird. There is no way to exclude this package from the 
build so I assume that your source checkout is somehow broken.

-- 
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org