SVN won't import *.a library
来源:互联网 发布:电气控制 视频软件 编辑:程序博客网 时间:2024/06/05 11:50
I've got a compiled static library (with an "a" extension) I want to include in my SVN repository but adding it never works (no problems adding other types of items). If I change the extension (e.g., "library.a" --> "library.b"), the add works. Why is the "a" extension failing? Is there a way around this without renaming the file?
Have you checked your global ignore settings. On linux they are stored in ~/.subversion/config
The default on my machine is :
global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
so it ignores *.a files
more info here
You should be able to add the file with
svn add "file" --no-ignore
to bypass any ignore rule set.
If the command:
svn status --no-ignore
returns with I in front you have a local Ignore. Run:
svn propedit svn:ignore
如果需要一次性添加所有文件,可使用如下命令:svn st
--no-ignore
| awk '{if ( $1 == "?") { print $2}}' | xargs svn add如果需要添加那些被忽略的文件,可使用如下命令:
svn st
--no-ignore
| awk '{if ( $1 == "I") { print $2}}' | xargs svn add 1 0
- SVN won't import *.a library
- SVN won't import *.a library
- HttpClient won't import in Android Studio
- "Not a bug" VS "Won't Fix"
- I won't if you won't
- Have won a scholarship
- I won't give up, I won't break down
- When Runtime.exec() won't
- Breakpoint won't be hit
- When Runtime.exec() won't
- Java won't allow a simple loop such as :while (true)
- Eclipse won't launch because `reload maven project has encountered a proble m`
- Deep Learning Is a Black Box, but Health Care Won’t Mind
- ftp命令结果提示“500 I won't open a connection to ...”
- How to import a static library into your test project?
- Exchange ActiveSync behind ISA won't work.
- My console windows won't go away
- Why I Won't Hire You
- 2016【太原UI设计师】郭文军讲iPad的界面规范
- 使用启动盘制作分区GHO文件
- 如何学习FPGA2
- Java I/O
- 北大肄业生炒期货赔光母亲房产后流浪乞讨
- SVN won't import *.a library
- ListView之SimpleAdapter的使用
- Linux用法摘记
- 不使用sizeof,确定机器int大小
- 6.2.4格式化字符串
- 为什么要添加“调试”这个栏目
- BZOJ 2588 Count On a Tree 【LCA】【主席树】
- 使用GENIL模型开发报表
- 怎么提高编程能力?