maven - How do I tell SVN not to ignore .class files? -


here's situation.

i use maven manage dependencies , compile , deploy project in development, , that's fine.

but in test , production, machines don't have maven, need easy way have compiled project manual deployment weblogic there.

my solution use maven compile project exploded .war , commit war svn.

for deployment in test , production can check out .war , deploy it.

unfortunately svn wants ignore .class files.

can tell not ignore them project?

the svn config looks like:

# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__ #   *.rej *~ #*# .#* .*.swp .ds_store 

so can't see .class files ignored here.

or have alternative suggestion compiling war , deploying, doesn't require maven?

your last question real question. checking derived artifacts source control never going path.

look jenkins or other continuous integration server. can have machine build war 1 time , deploy war multiple environments.

you want publish war somewhere - artifactory or nexus. can script deploy grab latest snapshot or release.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -