well, actually it is set, but in the postGoal, so I will move that line to the <postGoal name="war:war"> inside the <j:if test="${precompileJsps}">. If it is Ok, I can also make the changes on CVS if you want.

Carlos

Wouter Zoons wrote:

You’re right about that line not needing to be there … you can delete it .. dunnow why I have it there

 

Do you have this property set: war.precompile.jsp=${maven.war.build.dir}/precompiled ?

 

-- Wouter

 


From: Carlos Cuenca [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 11, 2005 8:12 PM
To: [EMAIL PROTECTED]; andromda-user
Subject: Re: [Andromda-user] andromdapp

 

Hi Wouter,

yes it is the hole /web ... it is very weird..., and I thought it was this line because it does not make a lot of sense for me, this is because: why you have a default commented section on maven.xml with the line "<ant:delete dir="${war.precompile.jsp}" quiet="true"/>" ? should not this line be at least uncommented by default (or just when you are using precomiled jsp's)

thanks

Carlos

Wouter Zoons wrote:

Hi Carlos,
 
I am using those exact same goals in my project, and they work perfectly,
what is the problem you are experiencing ? You mention /web being deleted,
is that the complete /web module ?
 
How is that possible ?
 
-- Wouter
 
 
  
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:andromda-user-
[EMAIL PROTECTED]] On Behalf Of Carlos Cuenca
Sent: Friday, February 11, 2005 7:02 PM
To: andromda-user
Subject: [Andromda-user] andromdapp
 
Hi,
 
I am testing the new structure from the andromdapp:generate plugin, and
I am testing the new src folder for jsp's, (I had uncomment the proper
lines...)
my problem is that the directory /web is deleted.
I had detected that in web/maven.xml
 
line 8:
    <preGoal name="war:init">
        <ant:delete dir="${war.precompile.jsp}" quiet="true"/>
        <ant:copy todir="${maven.war.webapp.dir}" overwrite="true">
            <ant:fileset dir="${maven.src.dir}/jsp">
                <include name="**/*"/>
            </ant:fileset>
        </ant:copy>
    </preGoal>
 
and on line 53:
    <postGoal name="war:war">
        <j:if test="${precompileJsps}">
            <!-- setting up the directories to work with -->
            <ant:property name="war.precompile.jsp"
location="${maven.war.build.dir}/precompiled"/>
 
so my answer is if this property should be defined on the preGoal
instead of postGoal.
 
Thanks
 
Carlos
 


Reply via email to