I renamed build.properties.xml to build.properties.
Now I have a new issue.

This is set in build.properties:
javaee.home=D:/Programs/sges-v3;

I am getting a build error

delete-tables:
 [sql] Executing resource: F:\Courses\JavaEEcourse
\javaeetutorial5\examples
\web\bookstore1\CoursesJavaEEcoursejavaeetutorial5\examples\common\sql
\javadb\de
lete.sql

BUILD FAILED
java.io.FileNotFoundException: F:\Courses\JavaEEcourse
\javaeetutorial5\examples\
web\bookstore1\CoursesJavaEEcoursejavaeetutorial5\examples\common\sql
\javadb\delete.sql (The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)

...

It seems that path to resource is duplicated:
 F:\Courses\JavaEEcourse\javaeetutorial5\examples
\web\bookstore1\CoursesJavaEEcoursejavaeetutorial5\examples\common\sql
\javadb\de
lete.sql

it should be
 F:\Courses\JavaEEcourse\javaeetutorial5\examples\common\sql\javadb
\delete.sql

I don't know where it is getting set twice.

On Feb 5, 1:25 pm, Bella <bell...@gmail.com> wrote:
> I am working on bookstore1 project of javaeetutorial5.  When I execute
> command:
> ant create-tables
>
> I get the following error message:
>
> BUILD FAILED
> F:\Courses\JavaEEcourse\javaeetutorial5\examples\bp-project\app-server-
> ant.xml:4
> 19: Property javaee.server.passwordfile not specified. Please
>             specify the javaee.server.passwordfile property in 'bp-
> project/build
> .properties'.
>             You will also need to ensure that the passwordfile is
> present and co
> ntains
>             AS_ADMIN_PASSWORD.
>
> I think one of the problems could be wrong password
> I am using a default password for glassfish. I am assuming that it is
> adminadmin
> Documentaton file DeveloperREADME.html states that password.txt file
> should be the path to a file containing the admin password for the
> Java EE 5 SDK.  What is the default password for Java EE 5 SDK.  I
> don't remember any upon installation
>
> Initially, I thought the problem could be spaces in my path.  I
> reinstalled to a directory without spaces and I am still getting the
> same error.  After reinstalling I did reset all necessary environment
> variables.
>
> Thanks in advance for all your help
> Bella

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to