ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | January 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] ant/kelp 5.1 problem - resources dir always deployed


We think that problem is standard JBuilder (8 and 9) feature. Everything
that is included in "src" directory is treated like projects source files -
that is reason why we moved resource folder (in standard Kelp project
structure) from "src" subfolder to Kelp-projects root. By default source
files with gif, jpe, jpeg, jpg, png and properties extensions get copied in
classes (JBuilers project output) directory. JBuilders Developer and
Enterprise edition allow to user (thru Project Properties dialog GUI
(Project Properties -> Build tab -> Resource tab)) to change this default
JBuilders project configuration. But, unfortunately, JBuilders Personal
edition doesn't. Only way to disable this is to edit projects "jpx"
manually.

You will have to add additional configuration (in projects "jpx" file)

<property category="build" name="NoCopyExtensions.1" value="gif"/>
<property category="build" name="NoCopyExtensions.2" value="jpg"/>
. . .
<property category="build" name="NoCopyExtensions.n"
value="sample_extension"/>


This additional project configuration should tell JBuilders project not to
copy these extensions from "src" to classes directory.

I hope these helps!

Best regards,

Sinisa

----- Original Message -----
From: "Petr Stehlik" <pstehlik@xxxxxxxxxx>
To: "Sinisa Milosevic" <s.milosevic@xxxxxxxxxxxxxx>
Sent: Friday, January 23, 2004 9:49 AM
Subject: Re: [enhydra] ant/kelp 5.1 problem - resources dir always deployed


> On Fri, 2004-01-23 at 10:06, Sinisa Milosevic wrote:
> > 1. Which JBuilder9 are you using (Enterprise/Personal)?
>
> personal
>
> > 2. Is your "resource" directory placed inside your source ("src")
directory?
>
>
> yes.
>
> > 3. Which resource files are copied from your resource directory (only
with
> > gif, jpe, jpeg, jpg, png and properties extensions or all - including
html
> > pages)?
>
> all.
>
> Petr
>
>

----- Original Message -----
From: "Petr Stehlik" <pstehlik@xxxxxxxxxx>
To: <enhydra@xxxxxxxxxxxxx>
Sent: Thursday, January 22, 2004 3:46 PM
Subject: Re: [enhydra] ant/kelp 5.1 problem - resources dir always deployed


> On Thu, 2004-01-22 at 15:12, Sinisa Milosevic wrote:
> > "deploy" target doesn't clean classes directory
>
> I don't mind it.
>
> > Target "deploy" compiles (changed) java files to "classes" directory,
copies
> > resource files (if Content Deploy checkbox is enabled) to "classes"
>
> well, the problem I reported was that it _always_ copies the resource
> files there, no matter if the checkbox is enabled or not.
>
> > 1. Delete resource files from your classes directory. And "deploy"
target
> > will create applications jar file  with "selected" resources (only).
>
> It doesn't. That's the problem I reported. I am using Kelp 5.1(.0).
>
> Petr
>
>
>
>


----------------------------------------------------------------------------
----


>
> --
> You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.