zhshqzyc | 1 Apr 01:52
Picon
Favicon

Seekng an ant tutorial on ground level


level 0 tutorial.
thanks
--

-- 
View this message in context: http://www.nabble.com/Seekng-an-ant-tutorial-on-ground-level-tf3499546.html#a9773491
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Mark | 1 Apr 02:42
Picon
Favicon

Re: subversion http checkout problem

> 
>     have you checked your "Proxy Settings" in
> "Checkout" wizard?

Peter,

That was it.

Now that I've done it though I'm not sure what it gets
me because it doesn't give me the opportunity to
create a netbeans project from the checkout.  Or am I
missing something in this regard?

I still had to create a project from existing sources
(this is a Ruby on Rails project) so it would have
been just as easy (in this case, easier) to use the
command line.

Thanks for your help,

Mark

 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

Chris Hengge | 1 Apr 07:28
Picon

Java.io.console in netbeans IDE

Hello everyone.

I've been recently playing with Java and Groovy in eclipse and the learning curve has kinda put me off so I tried this IDE.

Anyways, when trying to make a very simple "Hello World" style console application using the ' java.io.console' approach, I get an error in the built-in console.

Exception in thread "main" java.lang.NullPointerException
        at javahowtoprogram.Main.main(Main.java:27)
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)

This problem doesn't exist if I run the .class straight from the console though. Any way to get this working so it's a little simpler to debug?

Thanks to all.

jiangshachina | 1 Apr 08:02
Picon

problem when renaming classes?


Hi guys,
I'm using NetBeans 5.5 + JDK 1.5.0 + Windows 2000
I met a problem when renaming classes.
For example, I had a project, which had the directory layout as shown as
below.
myapp
  |--src
      |--mytest
          |--ui
              |--UITest.java
          |--db
              |--DbTest.java
          |--Test.java
If I renamed test.ui.UITest.java to test.ui.Test,
NetBeans would report "Error: Cannot rename. Class Test already exists in 
folder mytest."

In according to my tests, I find that
If the class name (excluding package name, e.g UITest) starts with its
direct package (ignoring upper/lower case, e.g. ui),
then if the target name (e.g. Test) is the same as the name of a class in
upper package (e.g. Test in mytest package),
NetBeans would report the "error".
Therefor, if my rename class DBTest to Test, NetBeats will report the same.

What's wrong with the matter?
Anyone encounters a same one?

a cup of Java, cheers!
Sha Jiang
--

-- 
View this message in context: http://www.nabble.com/problem-when-renaming-classes--tf3500116.html#a9775028
Sent from the Netbeans - Users mailing list archive at Nabble.com.

jiangshachina | 1 Apr 08:10
Picon

Re: [Matisse]code assist?


Hi Marian,
Thanks for your hint.

> Btw. we call the functionality "code completion". 
I see the words in NetBeans' shortcuts.

a cup of Java, cheers!
Sha Jiang

Marian Petras wrote:
> 
> There is some public API available:
> 
> http://www.netbeans.org/download/dev/javadoc/org-netbeans-modules-editor-completion/index.html?overview-summary.html
> 
> I know nothing about it - consider it just a hint.
> 
> Btw. we call the functionality "code completion".
> 
> Marian
> 
> 
> jiangshachina wrote:
>> Hi,
>> I just want to implement the same function in my own Swing application.
>> 
>> a cup of Java, cheers!
>> Sha Jiang
>> 
>> 
>> Asaf wrote:
>>> Hey,
>>>
>>> That is natively supported in NB, 
>>> There's no need to enable anything for this functionality,
>>>
>>> Are you sure you are editing a Java source code extension?
>>>
>>>
>>> Asaf.
>>>
>>> jiangshachina wrote:
>>>> Hello,
>>>>> Maybe there is nobody having some experience with "code assist".
>>>>> What the "code assist" is? 
>>>> Oh, I thought everyone understands "code assist".
>>>> Now, I think I made a mistake :-)
>>>>
>>>> "code assist" helps me to complete my codes.
>>>> I found "code assist" from Eclipse. Off course,  NetBeans really has
>>>> the
>>>> same function.
>>>> For example, I want to write statement "System.out.println()" with
>>>> NetBeans Java editor.
>>>> When I type "Sytem.", NetBeans will show me all of accessible members
>>>> of
>>>> System class with a new opening list.
>>>> I can just chose "out" in the list.
>>>> Do I show my mind clearly?
>>>> Thanks!
>>>>
>>>> a cup of Java, cheers!
>>>> Sha Jiang
>>>>
>>>>
>>>> Marian Petras wrote:
>>>>> Maybe there is nobody having some experience with "code assist". What 
>>>>> the "code assist" is?
>>>>>
>>>>> Marian
>>>>>
>>>>>
>>>>> jiangshachina wrote:
>>>>>> Hi,
>>>>>> Nobody knows the topic?
>>>>>> Any clue would help me.
>>>>>> Thanks!
>>>>>>
>>>>>> a cup of Java, cheers!
>>>>>> Sha Jiang
>>>>>>
>>>>>>
>>>>>> jiangshachina wrote:
>>>>>>> Hello guys, 
>>>>>>> I want to implement the function of "code assist",
>>>>>>> but I haven't any experience on the field.
>>>>>>> Can give me some clues about matter?
>>>>>>> Thank in advance!
>>>>>>>
>>>>>>> a cup of Java, cheers!
>>>>>>> Sha Jiang
>>>>>>>
>>>>>
>>>>
>>>
>> 
> 
> 

--

-- 
View this message in context: http://www.nabble.com/-Matisse-code-assist--tf3483969.html#a9775068
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Picon

Re: customize output window?

There doesn't seem to be any options in Tools | Options dialog too for 
customizing the output window's font and size. The 'Fonts & Colors' tab 
in the options dialog seems to be related to the editor windows only.

The ide itself can be started with a different fontsize with '--fontsize 
<newsize>' option but this would change base font size of the entire UI 
and not just the output window.

Regarding output tab not being the current one when the user would 
expect it to be, like after a compilation, that seems to be a bug.

thanks,
karthik

Thomas Wolf wrote:

> ...and is there a way to force the output window tab to become the 
> active one when one is doing a build?  More often than not (I guess I 
> alternate alot between CVS, Usages, and output tabs), the output tab 
> is not the currently active one when I start a compile - and often (I 
> can find no pattern) it doesn't come to the foreground, so I don't 
> even see compiler errors until I click on the tab manually.
>
> Sorry Sha for hijacking your thread.  But I guess it goes under the 
> rubrik of 'customizing output window' - at least a little :-)
> tom
>
> jiangshachina wrote:
>
>> Hi guys, Can I customize the "Output" window?
>> For example, change the font and size of the characters.
>> I don't find any proper settings in "Using NetBeans 5.5" and FAQs.
>>
>> Thanks in advance!
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>   
>
>

Picon

Re: How to create Jar in Netbeans?

From within the ide, right-click the applet node in the navigator and select 'Run File' method. This action should create the .html launcher file.

thanks,
karthik


zhshqzyc wrote:
okay, I start over. Just following the example in http://www.netbeans.org/kb/50/tutorial-applets.html But I never find xxx.html launcher file within the folder build. Thank jiangshachina wrote:
Hi, Now that your project isn't "main" application, you really don't double-click the jar. If you want to run the Applet, you shall take advantage of some viewer (e.g. appletviewer). a cup of Java, cheers! Sha Jiang zhshqzyc wrote:
Hi, Jiang, two things. 1) I deploy applet, of cource no main class. Then how to rebuild it? 2) I tested a project with a main class, after building it. No response by double clicking the jar icon. Thanks jiangshachina wrote:
Hi, I think you didn't set main class for your project. Project --> Properties --> Run, you would find "Main Class". Please set the main class of the your project, and then re-build the project, the main class will be set to manifest file. a cup of Java, cheers! Sha Jiang zhshqzyc wrote:
I just followed the instructions on Netbeans.org to create a jar file, but after I double clicked the jar file icon. "Fail to load Main-Class manifest attribute from..." Why and how to do? Thanks

Picon

Re: Debug Tomcat Startup

Using the NetBeans ide, debugging works only within the context of a 
project; unless the source and classes part of the the current project, 
NetBeans debugger won't be able to debug the code.

You may want to create a NetBeans project with a small test program that 
simulates the factory startup as tomcat itself does it, to debug the code.

Another possibility is to place several System.out.println() debugging 
statements within the factory jar, run tomcat and check the server log 
files.

thanks,
karthik

tux-07 wrote:

> On 3/30/07, Marc Farrow <marc.farrow <at> gmail.com> wrote:
>
>> I have a jar that is placed in Tomcat_home\common\lib folder which I 
>> have
>> the source code for.  I wish to start up Tomcat in Netbeans and debug 
>> this
>> code.  The jar file contains and object factory that is loaded via the
>> server.xml file and so the factory is started up on Tomcat startup.  
>> I have
>> right clicked the tomcat server in the "Servers" tab and added the 
>> source
>> for the jar there.  I have also clicked "start in debug mode" and to my
>> dismay I am not able to debug this code directly.
>>
>> Any thoughts?
>
>
> I think you can only debug source code in a webapp.
> Thanks.
>
>
>>
>> -- 
>> Marc Farrow
>

hterrolle | 1 Apr 11:15
Picon
Favicon

Re: Debug Tomcat Startup

Hi,
 
Do yu have the code source for tomcat5. I am intereted !
 
for debugging under netbeans. You must create a library, then you select the librayry into your project, then you select the source code into the source panel of the library. It shouold work. If not send me the source and a will try it. I hava done it with glassfish already so it is just may be few things to check out.
 
Regards
        Hterrolle
----- Original Message -----
Sent: Friday, March 30, 2007 6:59 PM
Subject: [nbusers] Debug Tomcat Startup

I have a jar that is placed in Tomcat_home\common\lib folder which I have the source code for.  I wish to start up Tomcat in Netbeans and debug this code.  The jar file contains and object factory that is loaded via the server.xml file and so the factory is started up on Tomcat startup.  I have right clicked the tomcat server in the "Servers" tab and added the source for the jar there.  I have also clicked "start in debug mode" and to my dismay I am not able to debug this code directly.
 
Any thoughts?

--
Marc Farrow
Patrick Keegan | 1 Apr 11:24
Picon

Re: which tutorials you suggest to learn BPEL and other enterprise pack features?

legolas wood wrote:
> hi
> thank you for reading my post.
> I want to learn bpel and other features of enterprise pack, which 
> tutorial with what sequence you suggest that i read?
The learning trail for SOA applications is designed with a rough 
sequence in mind, so I'd follow that:

http://www.netbeans.org/kb/trails/soa.html

-Patrick
>
> thanks


Gmane