boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - annotation question
相关主题
spring Annotation based configuration
现在有些迷惑了
Java Play Framework 和 Spring 比较一下? (转载)
eclipse question,please help
Re: j2se5.0 anybody tried
Questions on EJB3 Persistence/Hibernate
有多少人对annotation这个东西不满,请举手!!
javax.tools package
[合集] 这个annotation,...
谁来给简单的讲讲JAAS
相关话题的讨论汇总
话题: test话题: annotation话题: remove话题: question
进入Java版参与讨论
1 (共1页)
c*****t
发帖数: 1879
1
Anyways to remove annotations while compiling the code.
For example, I may have
@Test
public void func ();
for tools that are used in development phase, but is it possible to
remove @Test for release build, besides setting the target VM to 1.4?
Thanks.
b******y
发帖数: 9224
2
not sure, but, you can use "ant" to invoke a text parser to remove line by
line those annotations. Not an ideal way, but it should work fine.
h**j
发帖数: 2033
3
ant preprocess task

【在 c*****t 的大作中提到】
: Anyways to remove annotations while compiling the code.
: For example, I may have
: @Test
: public void func ();
: for tools that are used in development phase, but is it possible to
: remove @Test for release build, besides setting the target VM to 1.4?
: Thanks.

c*****t
发帖数: 1879
4
Thanks. I will check it out.
1 (共1页)
进入Java版参与讨论
相关主题
谁来给简单的讲讲JAAS
问个JPA的问题
junit question
问一个Many to Many的设计问题
j2ee without EJB
JEE 6 看起来不错
Design thought.. Sugguestions?
Java EE 习题 1
Java EE 习题 2
What's going on with Spring IDE's website?
相关话题的讨论汇总
话题: test话题: annotation话题: remove话题: question