Folks,

I have added svn:ignore directives to all the existing components under
the carbon-components project and please note that, if you are adding a
new component you should add svn:ignore properties to the component
directories as well.

You could first add the component and then on the component root
directories [1] add the svn:ignore as described in [2];

[1] _Component root directories_
If the component that you are adding is called 'foo' probably you will
add a top level component called 'foo' and inside that you will add
'org.wso2.carbon.foo' and 'org.wso2.carbon.foo.ui' and so forth, all the
above three directories are considered as component root directories in
this particular case.

[2] _Adding svn:ignore properties_
Go to the directory that you want to add svn:ignore (please note that
the directory has to be already under svn), and type the command;

svn propedit svn:ignore .

and then you will be prompted with the system text editor (for example
vi or nano), then paste the following list of items in the editor.

target
*.ipr
*.iml
*.iws
.classpath
.project
.settings

after that save and close the editor (in the case of vi, CTRL+c followed
by ':wq' and ENTER, while in nano just CTRL+x followed by 'y' and ENTER).

commit the properties using svn commit;

svn ci

Now when you do a 'svn stat' you should be able to see a clean view of
the changed file, while all the unwanted (ignored) files are filtered
out of the changed files list.

Please treat this as a best practice.

Thanks,
Ruwan

-- 
Ruwan Linton
Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org
email: [email protected]; cell: +94 77 341 3097
blog: http://blog.ruwan.org



_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to