dev@jsftemplating.java.net

Re: JSFTemplating: FW: Issues in deploying to JSFTemplating's DemoNBProject

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Thu, 13 Mar 2008 15:46:49 -0700
Hi Praveen,

I just downloaded  NetBeans 6.0.1 from  http://download.netbeans.org/netbeans/6.0/final/  taking the first distribution, ie 'Web & JavaEE'.
I didn't configure anything, just open the demo project,  build and run without any issue.
I notice the following in the output window when building the project:

Using C:\Program Files\NetBeans 6.0.1\java1\ant/bin/ant.bat
java.home=C:\Program Files\Java\jdk1.6.0_02\jre
ant.home=C:\Program Files\NetBeans 6.0.1\java1\ant
Apache Ant version 1.7.0 compiled on December 13 2006
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: C:\Anissa\NBProject\DemoNBProject\build\web\WEB-INF\classes
Building with apt:
Buildfile: aptbuild.xml

compile:
     [apt] Compiling 1 source file to C:\Anissa\NBProject\DemoNBProject\build\web\WEB-INF\classes

BUILD SUCCESSFUL
Total time: 7 seconds

Did you set your ant.home to some other version ?   I just use whatever NB comes with.  Maybe thats the issue.
Can you check what yours say when the build failed ?

thanks
Anissa.

Ken Paulsen wrote:


Hi Praveen,

Thanks for the feedback.  I have seen that error message even from the command line in the past due to bugs in certain versions of ant (I think it was ant).  However, I am not a NB expert, so I'm going to defer this question to Anissa Lam who wrote that part of the online help, she is much more of a NB expert that I am. :)  She's very responsive and I'm sure will get back to you soon.

Let me know if you have any other questions.

Thanks!

Ken


Praveen Soni wrote:

 

 


From: Praveen Soni
Sent: Thursday, March 13, 2008 3:57 PM
To: 'kenpaulsen@dev.java.net'
Subject: Issues in deploying to JSFTemplating's DemoNBProject

 

Hi,
This is in reference to JSFTemplating's DemoNBProject installation. (as explained on https://jsftemplating.dev.java.net/nbTutorial/DemoNBProject_setup.html)

I want to inform you about some of the issues I faced while installing the DemoProject in NetBeans.

I had following environment:

  • NetBeans IDE 6.0.1 (Build 200801291616)
  • Glassfish V2 server
  • JDK 1.6

 

On Building the project I used to get error by APT that "only JDK 1.5+ should be used", even if I had JDK 1.6 installed on my machine.

I was only able to deploy the application after installing JDK 1.5.0_15.

 

Is this a known issue or I was doing something wrong? If it is a known issue, I would appreciate If JDK version requirement be specified on the "Download and Setup DemoNBProject" document.

 

Thanks

Praveen Soni


This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.