jr 发帖数: 3 | 1 【 以下文字转载自 Programming 讨论区 】
【 原文由 Jr 所发表 】
新手问个问题
鼠标放到class上syntax的提示显示不出来,翻遍了选项也没找到哪里设
javadoc的设置。
哪位大侠指教一下? |
o**v 发帖数: 1662 | 2 jdk installed?【 在 Jr (心情像感冒) 的大作中提到: 】 |
m******t 发帖数: 2416 | 3
(Assuming Eclipse 3) Right click on the jar file that contains
the class files, select "Properties" -> "Javadoc location", and
go from there.
【在 jr 的大作中提到】 : 【 以下文字转载自 Programming 讨论区 】 : 【 原文由 Jr 所发表 】 : 新手问个问题 : 鼠标放到class上syntax的提示显示不出来,翻遍了选项也没找到哪里设 : javadoc的设置。 : 哪位大侠指教一下?
|
p***p 发帖数: 559 | 4 另外Eclipse里面Export到Jar文件,选项最后一页是MANIFEST
这个是什么意思
【在 m******t 的大作中提到】 : : (Assuming Eclipse 3) Right click on the jar file that contains : the class files, select "Properties" -> "Javadoc location", and : go from there.
|
m******t 发帖数: 2416 | 5
What "export"?
【在 p***p 的大作中提到】 : 另外Eclipse里面Export到Jar文件,选项最后一页是MANIFEST : 这个是什么意思
|
p***p 发帖数: 559 | 6 就是输出制作jar文件
【在 m******t 的大作中提到】 : : What "export"?
|
m******t 发帖数: 2416 | 7
Sorry, never done that in Eclipse, always used ant to
jar up files.
【在 p***p 的大作中提到】 : 就是输出制作jar文件
|
p***p 发帖数: 559 | 8
用ANT的话,Eclipse里面好像不能Debug。我都是如果别人code有现成的ANT
才用,自己写好像太麻烦了
【在 m******t 的大作中提到】 : : Sorry, never done that in Eclipse, always used ant to : jar up files.
|
d****s 发帖数: 30 | 9
Create/point your own MANIFEST.MF file.
Read
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html
for details about what MANIFEST is.
【在 p***p 的大作中提到】 : 另外Eclipse里面Export到Jar文件,选项最后一页是MANIFEST : 这个是什么意思
|
d****s 发帖数: 30 | 10
Ant's Jar, of course, supports Manefest. It actually
not only supports a pre-written MANEFEST.MF, but also
can create a new manefest file, with new items.
Have you ever written Ant Tasks? If you have written
Ant tasks to deploy either server side JAR or GUI app or
applet, you should at least use manefest.
【在 m******t 的大作中提到】 : : Sorry, never done that in Eclipse, always used ant to : jar up files.
|
|
|
d****s 发帖数: 30 | 11
Of course you can debug any kind of Java programs, even if you don't
have source code. If you have source code, then no trick at all.
read JPDA carefully.
Eclipse supports both share memory and socket remote debug.
【在 p***p 的大作中提到】 : : 用ANT的话,Eclipse里面好像不能Debug。我都是如果别人code有现成的ANT : 才用,自己写好像太麻烦了
|
g**********y 发帖数: 14569 | 12 If you have time to water 3 articles here, then you definitely have time to
learn how to write ANT.
Just open ANT's online manual, read a sample for 1 minute, then read the core
task help you want to use, then start WRITE!
Compared with unix Makefile, ANT is heavenly made gift for programmers.
【在 p***p 的大作中提到】 : : 用ANT的话,Eclipse里面好像不能Debug。我都是如果别人code有现成的ANT : 才用,自己写好像太麻烦了
|
p***p 发帖数: 559 | 13 是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder
也能应付,所以没用过。问题是很多Code拿到手是ANT编译,我一般把它们做成Eclipse
的Project然后用Debug里面设置运动配置,这样可以Debug,但是非常繁琐,必须读一遍
build。XML看看都要做什么。
请问如果用ANT菜单里面设置运行或者External Tools,怎能能设置断点Debug呢
【在 g**********y 的大作中提到】 : If you have time to water 3 articles here, then you definitely have time to : learn how to write ANT. : Just open ANT's online manual, read a sample for 1 minute, then read the core : task help you want to use, then start WRITE! : Compared with unix Makefile, ANT is heavenly made gift for programmers.
|
g**********y 发帖数: 14569 | 14 Why you want to set break point in ANT? Isn't one-click on code line simple
enough?
BTW, you know that you can drag Ant view down to output pane and just click
task to run a particular task, right? After using Eclipse/Ant for 3 months, I
realized that I can do that :-) I used to click menu step by step to run a
special ANT task, which bores and irritates me a lot.
是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder
遍
【在 p***p 的大作中提到】 : 是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder : 也能应付,所以没用过。问题是很多Code拿到手是ANT编译,我一般把它们做成Eclipse : 的Project然后用Debug里面设置运动配置,这样可以Debug,但是非常繁琐,必须读一遍 : build。XML看看都要做什么。 : 请问如果用ANT菜单里面设置运行或者External Tools,怎能能设置断点Debug呢
|
d****s 发帖数: 30 | 15
是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder
遍
I've told you, read JPDA carefully. Eclipse is fully complaint with the spec.
Although the spec is used for developing a debugger, you can understand how
IDE tools like Eclipse and Netbeans hook up to an application, set break point
and trace the workflow.
to
core
【在 p***p 的大作中提到】 : 是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder : 也能应付,所以没用过。问题是很多Code拿到手是ANT编译,我一般把它们做成Eclipse : 的Project然后用Debug里面设置运动配置,这样可以Debug,但是非常繁琐,必须读一遍 : build。XML看看都要做什么。 : 请问如果用ANT菜单里面设置运行或者External Tools,怎能能设置断点Debug呢
|
d****s 发帖数: 30 | 16
是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder
也能应付,所以没用过。问题是很多Code拿到手是ANT编译,我一般把它们做成Eclipse
一
spec.
point
Well, a quick hint:
any Java program, you can add Java option
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
then your eclipse can set "remote" debugger, connect to your localhost's
8000 port, and hook up to your Java program. If you have source code
tree in eclipse, you can attach the source code to the application,
set breakpoint and trace the running of the application
【在 d****s 的大作中提到】 : : 是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder : 遍 : I've told you, read JPDA carefully. Eclipse is fully complaint with the spec. : Although the spec is used for developing a debugger, you can understand how : IDE tools like Eclipse and Netbeans hook up to an application, set break point : and trace the workflow. : to : core
|
m******t 发帖数: 2416 | 17
Here we go again - I don't know why you get so hyped up everytime.
Isn't that what I just said that I always created jars in Ant?
【在 d****s 的大作中提到】 : : 是啊,最近学习了一下,能看懂ANT的xml文件基本,不过我现在的程序Eclipse的Builder : 也能应付,所以没用过。问题是很多Code拿到手是ANT编译,我一般把它们做成Eclipse : 一 : spec. : point : Well, a quick hint: : any Java program, you can add Java option : -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 : then your eclipse can set "remote" debugger, connect to your localhost's
|
d****s 发帖数: 30 | 18
It doesn't matter. That is for sure you don't know what manifest is,
although you ALWAYS CREATED or create JARS IN ANT.
【在 m******t 的大作中提到】 : : Here we go again - I don't know why you get so hyped up everytime. : Isn't that what I just said that I always created jars in Ant?
|
m******t 发帖数: 2416 | 19
Just what did I say to drive you to that conclusion?
【在 d****s 的大作中提到】 : : It doesn't matter. That is for sure you don't know what manifest is, : although you ALWAYS CREATED or create JARS IN ANT.
|