Developer/Designer Notes

Why does my .war contain the source control files?

Posted by Kiran Mova on April 5, 2007

I am using netbeans IDE to create an Web Application and Clearcase as my source control. Clearcase created .CC files in the ‘web’ folder. So when I build my var file, the files under .CC are being included.

The solution was to modify the build.xml generated by netbeans. By default, the ant script doesn’t exclude the .CC directory. So add this line : <defaultexcludes add=”**/*.CC/**”/>

Ant documentation : DefaultExcludes


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: