由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - [转载] 有用Eclipse的嘛?
相关主题
Ant and Netbeans helpin eclipse, how do you use inter dependencies?
java为啥这么多frameworkjava ee新手求教eclipse问题
Jar questionEclipse export,有javaws的时候如何设置
jar file question能这样编网站吗?
请教:Junit fails as an Ant taskeclipse help
大家写java class的时候是完全封装的么?Re: how to integrate java api doc with e
新手问一个:如何找.jar文件里都有什么class?Eclipse 3.0 platform API doc?
Eclipse and jareclipse question,please help
相关话题的讨论汇总
话题: ant话题: eclipse话题: jar话题: java话题: code
进入Java版参与讨论
1 (共1页)
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.

相关主题
大家写java class的时候是完全封装的么?in eclipse, how do you use inter dependencies?
新手问一个:如何找.jar文件里都有什么class?java ee新手求教eclipse问题
Eclipse and jarEclipse export,有javaws的时候如何设置
进入Java版参与讨论
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.

1 (共1页)
进入Java版参与讨论
相关主题
eclipse question,please help请教:Junit fails as an Ant task
Eclipse的Javadoc信息显示问题大家写java class的时候是完全封装的么?
how to make an html file in Eclipse?新手问一个:如何找.jar文件里都有什么class?
Re: [转载] Re: .jar文件是怎么产生的?Eclipse and jar
Ant and Netbeans helpin eclipse, how do you use inter dependencies?
java为啥这么多frameworkjava ee新手求教eclipse问题
Jar questionEclipse export,有javaws的时候如何设置
jar file question能这样编网站吗?
相关话题的讨论汇总
话题: ant话题: eclipse话题: jar话题: java话题: code