2013-07-29 21 views
0

如何爲maven apt插件添加選項?標題爲

<options> 
    <option>field=D:\com.googlecode\target\generated-sources\apt</option> 
</options> 

我用這個,但打印:

-Afield=D:\com.googlecode\target\generated-sources\apt=null 

null

什麼是正確的格式?

+1

爲空不設置任何值 –

+0

如何設置?我不知道寫'選擇'的正確方法? – jiafu

回答

0

你應該嘗試:

<options> 
    <field>D:\com.googlecode\target\generated-sources\apt</field> 
</options> 
+0

不可行,你試過了嗎? – jiafu

+0

@jiafu對不對,如在[這裏](http://stackoverflow.com/questions/15856855/issue-with-apt-maven-plugin-and-com-mysema-query-apt-roo-rooannotationprocessor )。我研究了你的來源,它應該按照你使用它的方式工作。 – amaurs