Post by Paranoidhi all!
have little question - developing web application
with maven project plugin. and when NetBeans starts
it creates new folder META-INF with context.xml
file. and JetSpeed that i'm deploying in always
crashes with it. can i protect it from creating this
folder?
It may be crashing because of context.xml (that would
be my guess). JetSpeed may (like Tomcat) use
context.xml, and its expected format may be different.
It should not be crashing because of the META-INF
folder, and if it is you should report this to the
JetSpeed folks as a bug because META-INF is part of
the jar standard and a war file is a jar.
If you need to delete or replace context.xml in/from
the build directory you can do this before the war
(jar) file is created. Search the list for how to do
this in different projects and also see the build.xml
and build-impl.xml files comments. You can also see
the different NB specific resource/parent ANT scripts
used in the NB build process for information how to
override things in the build. Once you can run some
ANT script before the jar/war(ing) takes place you can
delete the context.xml file.
I know I've post how to override this in web projects
multiple times, so you should be able to find it, and
it's a copy paste thing for me as I don't use on a
daily basis, so I would have to look it all up again,
but again searching should the lists should find it
for you.
Wade