[cvsnt] cvsnt, JDeveloper, and binary files
Jeff Urlwin
jurlwin at esoftmatic.com
Mon Mar 22 21:03:16 GMT 2004
>
>
>
> Hi,
>
> I have problems using cvsnt with Oracle's JDeveloper.
>
> Binary files (jar files) are corrupted when they are under
> cvs control.
>
> The JDeveloper documentation says that the cvs server(!) should be
> configured so that it treats binary files types differently.
> In JDeveloper I can add single files as binary to cvs but not library
> files which are not displayed in the project tree. When I import a
> complete JDeveloper project to cvs JDeveloper seems tor treat all
> project files as ascii files (or is it the server?).
>
> Does anyone know what I can do to import a JDeveloper project
> to cvs and
> get binary files treated correctly automatically? What do I have to
> configure, the server or JDeveloper? And where?
Jdeveloper doesn't setup the wrappers files correctly, like Borland's
Jbuilder. I contacted Oracle about this and they have noted the request and
thought it was a good idea...so it may be in a future version.
What I would do is add to the cvswrappers file the things you need. Here's
some of mine -- and TBH, I don't remember what some of them are for ... And
this includes part of the cvswrappes that comes with CVS out of the box (the
comments). Especially handy if you have a project with graphics, too :)
#
# wildcard [option value][option value]...
#
# where option is one of
# -f from cvs filter value: path to filter
# -t to cvs filter value: path to filter
# -m update methodology value: MERGE or COPY
# -k expansion mode value: b, o, kkv, &c
#
# and value is a single-quote delimited value.
# For example:
#*.gif -k 'b'
*.aiff -k 'b'
*.midi -k 'b'
*.png -k 'b'
*.jds -k 'b'
*.jar -k 'b'
*.asx -k 'b'
*.wav -k 'b'
*.war -k 'b'
*.ear -k 'b'
*.obj -k 'b'
*.dcu -k 'b'
*.class -k 'b'
*.au -k 'b'
*.gif -k 'b'
*.exe -k 'b'
*.eargrp -k 'b'
*.jpg -k 'b'
*.jpe -k 'b'
*.o -k 'b'
*.asf -k 'b'
*.rar -k 'b'
*.library -k 'b'
*.ejbgrp -k 'b'
*.ram -k 'b'
*.zip -k 'b'
*.ejbgrpx -k 'b'
*.mid -k 'b'
*.jpeg -k 'b'
*.rmf -k 'b'
*.tdf -k 'b'
*.cab -k 'b'
*.dll -k 'b'
*.ocx -k 'b'
*.ntf -k 'b'
*.nsf -k 'b'
*.er1 -k 'b'
*.doc -k 'b'
*.xls -k 'b'
*.ppt -k 'b'
*.vsd -k 'b'
More information about the cvsnt
mailing list