You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Acklen, Quincy L" <qu...@bankofamerica.com> on 2010/03/18 16:15:13 UTC
tapestry jumpstart without an editor (javax / compile problem)
I'm having some difficulty getting tapestry to compile let alone run in
my IDE (IntelliJ IDEA 9) so I reverted to running the ant script from
the command line. Ant (1.8.0) works fine for several other projects, as
does tomcat (6.0) on my Windows XP machine.
My build.properties file ends up looking like this:
app.name=jumpstart
enterprise.dir=enterprise
web.dir=web
business.dir=business
collapsed.dir=collapsed
exploded.dir=exploded
maven.repo.root=http://repo1.maven.org/maven2
deployment.server.type=tomcat
deployment.persistence.descriptor=openejb-hibernate-hsqldb-persistence.x
ml
deployment.web.descriptor=web.xml
integration.test.server.dir=c:/Program Files/_System/Tomcat 6.0
add.source.to.war=
I changed the defaults to use the tomcat settings (and tried several
[relative path] variations on the integration.test.server.dir path in
addition to the absolute path shown)
I am behind a nasty proxy that requires a password so I didn't count on
the default target to work, but surely that isn't required for the
compile target, right?
I would have guessed that the classpath would have been set in the build
script, or configured in the properties, but I'm not seeing that. I end
up with what is surly a classpath error in that javax is not found
(error below). This seems pretty basic so I'm guess this is my
oversight, but I didn't find any detailed setup instructions in the wiki
or faq section of the webpage nor a similar question already on the
mailing list so I thought I'd ask...
C:\Projects\jumpstart-4.5.2>ant compile
Buildfile: C:\Projects\jumpstart-4.5.2\build.xml
compile:
[echo] **************************
[echo] Compiling Business module...
[echo] **************************
init:
compile:
[javac] C:\Projects\jumpstart-4.5.2\business\build.xml:125: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for rep
eatable builds
[javac] Compiling 71 source files to
C:\Projects\jumpstart-4.5.2\business\target\classes
[javac]
C:\Projects\jumpstart-4.5.2\business\src\main\java\jumpstart\business\co
mmons\exception\AuthenticationException.java:3: package javax.ejb does
not exist
[javac] import javax.ejb.ApplicationException;
[javac] ^
Re: tapestry jumpstart without an editor (javax / compile problem)
Posted by Geoff Callender <ge...@gmail.com>.
The 3rd-party jars are not included because it can create licensing issues. Besides, this gives you a mechanism to update them really easily.
Did you get JumpStart working in Eclipse with Jetty/OpenEJB before trying Tomcat? The Tomcat instructions have been tested by many people, but maybe you've found a problem variation.
http://jumpstart.doublenegative.com.au/jumpstart4.5/tips.html#OTHER_SERVERS
Cheers,
Geoff
On 20/03/2010, at 1:37 AM, Acklen, Quincy L wrote:
> Thanks, I didn't find those instructions. I added the proxypassword and
> proxyuser attributes and I was able to download the dependencies. (I
> really would have thought they would have included the required libs in
> zip OR a way to point them to the libs in the properties file to the
> location on your machine).
>
> <setproxy proxyhost="webproxy.myDomain.com"
> proxypassword="MyPassword" proxyuser="MyID" proxyport="8080"/>
>
> Now all the files are downloaded and compiling and deploying on Tomcat
> (I did have to use a relative path to point to Tomcat), but the app
> doesn't start. This probably ought to be a different thread though...
>
> FAIL - Deployed application at context path /jumpstart but context
> failed to start
>
>
>
> -----Original Message-----
> From: Geoff Callender [mailto:geoff.callender.jumpstart@gmail.com]
> Sent: Friday, March 19, 2010 12:02 AM
> To: Tapestry users
> Subject: Re: tapestry jumpstart without an editor (javax / compile
> problem)
>
> Hi Quincy,
>
> Looks like you don't have the dependent files. Have you done step 4 of
> http://jumpstart.doublenegative.com.au/jumpstart4.5/installation.html ?
>
> HTH,
>
> Geoff
>
> On 19/03/2010, at 2:15 AM, Acklen, Quincy L wrote:
>
>> I'm having some difficulty getting tapestry to compile let alone run
> in
>> my IDE (IntelliJ IDEA 9) so I reverted to running the ant script from
>> the command line. Ant (1.8.0) works fine for several other projects,
> as
>> does tomcat (6.0) on my Windows XP machine.
>>
>>
>>
>> My build.properties file ends up looking like this:
>>
>>
>>
>> app.name=jumpstart
>>
>> enterprise.dir=enterprise
>>
>> web.dir=web
>>
>> business.dir=business
>>
>> collapsed.dir=collapsed
>>
>> exploded.dir=exploded
>>
>> maven.repo.root=http://repo1.maven.org/maven2
>>
>> deployment.server.type=tomcat
>>
>>
> deployment.persistence.descriptor=openejb-hibernate-hsqldb-persistence.x
>> ml
>>
>> deployment.web.descriptor=web.xml
>>
>> integration.test.server.dir=c:/Program Files/_System/Tomcat 6.0
>>
>> add.source.to.war=
>>
>>
>>
>> I changed the defaults to use the tomcat settings (and tried several
>> [relative path] variations on the integration.test.server.dir path in
>> addition to the absolute path shown)
>>
>>
>>
>> I am behind a nasty proxy that requires a password so I didn't count
> on
>> the default target to work, but surely that isn't required for the
>> compile target, right?
>>
>>
>>
>> I would have guessed that the classpath would have been set in the
> build
>> script, or configured in the properties, but I'm not seeing that. I
> end
>> up with what is surly a classpath error in that javax is not found
>> (error below). This seems pretty basic so I'm guess this is my
>> oversight, but I didn't find any detailed setup instructions in the
> wiki
>> or faq section of the webpage nor a similar question already on the
>> mailing list so I thought I'd ask...
>>
>>
>>
>> C:\Projects\jumpstart-4.5.2>ant compile
>>
>> Buildfile: C:\Projects\jumpstart-4.5.2\build.xml
>>
>>
>>
>> compile:
>>
>> [echo] **************************
>>
>> [echo] Compiling Business module...
>>
>> [echo] **************************
>>
>>
>>
>> init:
>>
>>
>>
>> compile:
>>
>> [javac] C:\Projects\jumpstart-4.5.2\business\build.xml:125:
> warning:
>> 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last;
>> set to false for rep
>>
>> eatable builds
>>
>> [javac] Compiling 71 source files to
>> C:\Projects\jumpstart-4.5.2\business\target\classes
>>
>> [javac]
>>
> C:\Projects\jumpstart-4.5.2\business\src\main\java\jumpstart\business\co
>> mmons\exception\AuthenticationException.java:3: package javax.ejb does
>> not exist
>>
>> [javac] import javax.ejb.ApplicationException;
>>
>> [javac] ^
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: tapestry jumpstart without an editor (javax / compile problem)
Posted by "Acklen, Quincy L" <qu...@bankofamerica.com>.
Thanks, I didn't find those instructions. I added the proxypassword and
proxyuser attributes and I was able to download the dependencies. (I
really would have thought they would have included the required libs in
zip OR a way to point them to the libs in the properties file to the
location on your machine).
<setproxy proxyhost="webproxy.myDomain.com"
proxypassword="MyPassword" proxyuser="MyID" proxyport="8080"/>
Now all the files are downloaded and compiling and deploying on Tomcat
(I did have to use a relative path to point to Tomcat), but the app
doesn't start. This probably ought to be a different thread though...
FAIL - Deployed application at context path /jumpstart but context
failed to start
-----Original Message-----
From: Geoff Callender [mailto:geoff.callender.jumpstart@gmail.com]
Sent: Friday, March 19, 2010 12:02 AM
To: Tapestry users
Subject: Re: tapestry jumpstart without an editor (javax / compile
problem)
Hi Quincy,
Looks like you don't have the dependent files. Have you done step 4 of
http://jumpstart.doublenegative.com.au/jumpstart4.5/installation.html ?
HTH,
Geoff
On 19/03/2010, at 2:15 AM, Acklen, Quincy L wrote:
> I'm having some difficulty getting tapestry to compile let alone run
in
> my IDE (IntelliJ IDEA 9) so I reverted to running the ant script from
> the command line. Ant (1.8.0) works fine for several other projects,
as
> does tomcat (6.0) on my Windows XP machine.
>
>
>
> My build.properties file ends up looking like this:
>
>
>
> app.name=jumpstart
>
> enterprise.dir=enterprise
>
> web.dir=web
>
> business.dir=business
>
> collapsed.dir=collapsed
>
> exploded.dir=exploded
>
> maven.repo.root=http://repo1.maven.org/maven2
>
> deployment.server.type=tomcat
>
>
deployment.persistence.descriptor=openejb-hibernate-hsqldb-persistence.x
> ml
>
> deployment.web.descriptor=web.xml
>
> integration.test.server.dir=c:/Program Files/_System/Tomcat 6.0
>
> add.source.to.war=
>
>
>
> I changed the defaults to use the tomcat settings (and tried several
> [relative path] variations on the integration.test.server.dir path in
> addition to the absolute path shown)
>
>
>
> I am behind a nasty proxy that requires a password so I didn't count
on
> the default target to work, but surely that isn't required for the
> compile target, right?
>
>
>
> I would have guessed that the classpath would have been set in the
build
> script, or configured in the properties, but I'm not seeing that. I
end
> up with what is surly a classpath error in that javax is not found
> (error below). This seems pretty basic so I'm guess this is my
> oversight, but I didn't find any detailed setup instructions in the
wiki
> or faq section of the webpage nor a similar question already on the
> mailing list so I thought I'd ask...
>
>
>
> C:\Projects\jumpstart-4.5.2>ant compile
>
> Buildfile: C:\Projects\jumpstart-4.5.2\build.xml
>
>
>
> compile:
>
> [echo] **************************
>
> [echo] Compiling Business module...
>
> [echo] **************************
>
>
>
> init:
>
>
>
> compile:
>
> [javac] C:\Projects\jumpstart-4.5.2\business\build.xml:125:
warning:
> 'includeantruntime' was not set, defaulting to
build.sysclasspath=last;
> set to false for rep
>
> eatable builds
>
> [javac] Compiling 71 source files to
> C:\Projects\jumpstart-4.5.2\business\target\classes
>
> [javac]
>
C:\Projects\jumpstart-4.5.2\business\src\main\java\jumpstart\business\co
> mmons\exception\AuthenticationException.java:3: package javax.ejb does
> not exist
>
> [javac] import javax.ejb.ApplicationException;
>
> [javac] ^
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: tapestry jumpstart without an editor (javax / compile problem)
Posted by Geoff Callender <ge...@gmail.com>.
Hi Quincy,
Looks like you don't have the dependent files. Have you done step 4 of http://jumpstart.doublenegative.com.au/jumpstart4.5/installation.html ?
HTH,
Geoff
On 19/03/2010, at 2:15 AM, Acklen, Quincy L wrote:
> I'm having some difficulty getting tapestry to compile let alone run in
> my IDE (IntelliJ IDEA 9) so I reverted to running the ant script from
> the command line. Ant (1.8.0) works fine for several other projects, as
> does tomcat (6.0) on my Windows XP machine.
>
>
>
> My build.properties file ends up looking like this:
>
>
>
> app.name=jumpstart
>
> enterprise.dir=enterprise
>
> web.dir=web
>
> business.dir=business
>
> collapsed.dir=collapsed
>
> exploded.dir=exploded
>
> maven.repo.root=http://repo1.maven.org/maven2
>
> deployment.server.type=tomcat
>
> deployment.persistence.descriptor=openejb-hibernate-hsqldb-persistence.x
> ml
>
> deployment.web.descriptor=web.xml
>
> integration.test.server.dir=c:/Program Files/_System/Tomcat 6.0
>
> add.source.to.war=
>
>
>
> I changed the defaults to use the tomcat settings (and tried several
> [relative path] variations on the integration.test.server.dir path in
> addition to the absolute path shown)
>
>
>
> I am behind a nasty proxy that requires a password so I didn't count on
> the default target to work, but surely that isn't required for the
> compile target, right?
>
>
>
> I would have guessed that the classpath would have been set in the build
> script, or configured in the properties, but I'm not seeing that. I end
> up with what is surly a classpath error in that javax is not found
> (error below). This seems pretty basic so I'm guess this is my
> oversight, but I didn't find any detailed setup instructions in the wiki
> or faq section of the webpage nor a similar question already on the
> mailing list so I thought I'd ask...
>
>
>
> C:\Projects\jumpstart-4.5.2>ant compile
>
> Buildfile: C:\Projects\jumpstart-4.5.2\build.xml
>
>
>
> compile:
>
> [echo] **************************
>
> [echo] Compiling Business module...
>
> [echo] **************************
>
>
>
> init:
>
>
>
> compile:
>
> [javac] C:\Projects\jumpstart-4.5.2\business\build.xml:125: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set to false for rep
>
> eatable builds
>
> [javac] Compiling 71 source files to
> C:\Projects\jumpstart-4.5.2\business\target\classes
>
> [javac]
> C:\Projects\jumpstart-4.5.2\business\src\main\java\jumpstart\business\co
> mmons\exception\AuthenticationException.java:3: package javax.ejb does
> not exist
>
> [javac] import javax.ejb.ApplicationException;
>
> [javac] ^
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org