由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Ant and Netbeans help
相关主题
[转载] 有用Eclipse的嘛?aspectJ + ant , how to define task?
请教:Junit fails as an Ant taskany clone of netbeans of look&feel?
netbean and eclipse[转载] 有人在用NetBeans IDE么?
Jar question中文XP突然装不上NetBeans怪事
jar file questionNetBeans 的初级问题
java ee新手求教eclipse问题Java5 compatibility issue
大家写java class的时候是完全封装的么?现在哪种java开发环境比较流行呀?
新手问一个:如何找.jar文件里都有什么class?netbean vs. eclipse
相关话题的讨论汇总
话题: manifest话题: ant话题: netbeans话题: build话题: file
进入Java版参与讨论
1 (共1页)
c*****t
发帖数: 1879
1
How to insert a ${today} field in the manifest task? That is, I want
ant to produce a manifest file that contains today's date and build #
(which are generated automatically) in the manifest file. Any tiger
shrimps know how?
Thanks
m**c
发帖数: 90
2

For example:






...


...



【在 c*****t 的大作中提到】
: How to insert a ${today} field in the manifest task? That is, I want
: ant to produce a manifest file that contains today's date and build #
: (which are generated automatically) in the manifest file. Any tiger
: shrimps know how?
: Thanks

c*****t
发帖数: 1879
3
Great. Thanks so much.
BTW, is it possible to show it in an About dialog box somehow?
Thanks again.

【在 m**c 的大作中提到】
:
: For example:
:
:
:
:

:
:
: ...
:

m**c
发帖数: 90
4

Sorry, I don't use netbeans :-)

【在 c*****t 的大作中提到】
: Great. Thanks so much.
: BTW, is it possible to show it in an About dialog box somehow?
: Thanks again.

c*****t
发帖数: 1879
5
What I mean is how to display that Build-Number, Build-By in my
java program? java.lang.Package can handle attributes such as
Implementation-Version etc, but I just wonder how other information
can be displayed.

【在 m**c 的大作中提到】
:
: Sorry, I don't use netbeans :-)

m**c
发帖数: 90
6

Can you access manifest file from your code? If not, why don't you write
those information to a property file and bundle it to the JAR so that you can
access it: create a property file:
1. build.properties
2. Add "replace" task (to update "build.properties") to your ant script before
"jar" task"

【在 c*****t 的大作中提到】
: What I mean is how to display that Build-Number, Build-By in my
: java program? java.lang.Package can handle attributes such as
: Implementation-Version etc, but I just wonder how other information
: can be displayed.

1 (共1页)
进入Java版参与讨论
相关主题
netbean vs. eclipsejar file question
新手请教netbean的问题java ee新手求教eclipse问题
Java Swing Application都用哪些Framework大家写java class的时候是完全封装的么?
netbeans 6.9了新手问一个:如何找.jar文件里都有什么class?
[转载] 有用Eclipse的嘛?aspectJ + ant , how to define task?
请教:Junit fails as an Ant taskany clone of netbeans of look&feel?
netbean and eclipse[转载] 有人在用NetBeans IDE么?
Jar question中文XP突然装不上NetBeans怪事
相关话题的讨论汇总
话题: manifest话题: ant话题: netbeans话题: build话题: file