由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - annotation question
相关主题
spring Annotation based configuration[合集] 这个annotation,...
现在有些迷惑了谁来给简单的讲讲JAAS
Java Play Framework 和 Spring 比较一下? (转载)问个JPA的问题
eclipse question,please helpjunit question
Re: j2se5.0 anybody tried问一个Many to Many的设计问题
Questions on EJB3 Persistence/Hibernatej2ee without EJB
有多少人对annotation这个东西不满,请举手!!JEE 6 看起来不错
javax.tools packageDesign thought.. Sugguestions?
相关话题的讨论汇总
话题: 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版参与讨论
相关主题
Design thought.. Sugguestions?Re: j2se5.0 anybody tried
Java EE 习题 1Questions on EJB3 Persistence/Hibernate
Java EE 习题 2有多少人对annotation这个东西不满,请举手!!
What's going on with Spring IDE's website?javax.tools package
spring Annotation based configuration[合集] 这个annotation,...
现在有些迷惑了谁来给简单的讲讲JAAS
Java Play Framework 和 Spring 比较一下? (转载)问个JPA的问题
eclipse question,please helpjunit question
相关话题的讨论汇总
话题: test话题: annotation话题: remove话题: question