|
From: Peter T. <ptr...@gm...> - 2010-09-16 11:02:56
|
sorry, one more change, to the "war-exploded" macro:
====
<macrodef name="war-exploded">
<attribute name="deployDir" default="target/${war.name}"/>
<sequential>
<copy todir="@{deployDir}">
<fileset dir="src/main/webapp"/>
</copy>
<copy todir="@{deployDir}/WEB-INF/classes">
<fileset dir="target/classes"/>
</copy>
<copy todir="@{deployDir}/WEB-INF/lib" flatten="true">
<fileset refid="runtime.fileset"/>
</copy>
</sequential>
</macrodef>
====
2010/9/16 Peter Thomas <ptr...@gm...>:
> you are right, there is a typo in build.xml after we "maven-ized" it.
> please replace the existing "jetty-setup" target with the following:
>
> (@Manfred if you are seeing this message, please go ahead and commit
> this change to SVN, it may take me a while to set up my new env)
>
> ====
>
> <target name="jetty-setup" depends="war-exploded"
> xmlns:artifact="urn:maven-artifact-ant">
> <artifact:dependencies filesetId="jetty-fileset">
> <dependency groupId="org.mortbay.jetty" artifactId="jetty"
> version="6.1.1"/>
> </artifact:dependencies>
> <artifact:dependencies filesetId="jetty-start">
> <dependency groupId="org.mortbay.jetty" artifactId="start"
> version="6.1.1"/>
> </artifact:dependencies>
> <copy todir="target/jetty/lib" flatten="true">
> <fileset refid="jetty-fileset"/>
> </copy>
> <copy todir="target/jetty" flatten="true">
> <fileset refid="jetty-start"/>
> <mapper type="merge" to="start.jar"/>
> </copy>
> <copy todir="target/jetty/etc">
> <fileset dir="etc">
> <include name="jetty.xml"/>
> <include name="wrapper.conf"/>
> <include name="webdefault.xml"/>
> </fileset>
> </copy>
> <mkdir dir="target/jetty/logs"/>
> <mkdir dir="target/jetty/work"/>
> <antcall target="jetty-setup-dev"/>
> </target>
>
> ====
>
> let me know how it goes.
>
> On Thu, Sep 16, 2010 at 3:51 PM, Иван Сердюков <ene...@gm...> wrote:
>> Peter ,
>> ant dist-jtrac :
>> . . .
>>
>> BUILD FAILED
>> C:\home\dev\jtrac\dnl4\jtrac\build.xml:76: The following error occurred
>> while executing this line:
>> C:\home\dev\jtrac\dnl4\jtrac\build.xml:93:
>> C:\home\dev\jtrac\dnl4\jtrac\${m2.repo} does not exist.
>>
>> looks like we shoud fix ${m2.repo} by ${maven.repo.local} in build.xml
>> or something wrong , have no idea yet
>> Iv
>>
>> 2010/9/16 Peter Thomas <ptr...@gm...>
>>>
>>> On Thu, Sep 16, 2010 at 2:39 PM, Иван Сердюков <ene...@gm...>
>>> wrote:
>>> > Hi all !
>>> > I've just build (mvn install -> target/jtrac.war) jtrac from svn trunc (
>>> > v.2.2.0 ) .
>>> > tried run it myself:
>>> > 1-st way :
>>> >
>>> > deploy jtrac.war in autodeploy of glassfish 2.2.1 (is almost the
>>> > tomcat);
>>> > when connect to http://myhos:portnum/jtrac I get error
>>> > HTTP Status 503
>>> > The requested service () is not currently available.
>>> > should I run hsqldb before use jtrac ?
>>> >
>>> > 2-nd way
>>> >
>>> > How to run jtrac (just builded) "out from box" ( use jetty and other
>>> > defauld
>>> > settings ) ?
>>> > I've note that /etc/start.bat won't work and there is no start.jar at
>>> > all
>>> >
>>> > could you please help me run it ? any advise are welcome )
>>>
>>> try running the "dist-jtrac" ant target. this will create
>>> target/jtrac.zip - which includes start.bat in the right place and
>>> HSQLDB configured correctly
>>>
>>> Refer the install guide for how to just use the WAR:
>>>
>>> http://www.jtrac.info/doc/html/installation.html
>>>
>>> by default it will try to use your "user home" directory and you could
>>> have problems if the folder does not exist or you don't have
>>> permissions to write to the file system or something like that.
>>>
>>> > thank you !
>>> > Ivan S.
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Start uncovering the many advantages of virtual appliances
>>> > and start using them to simplify application deployment and
>>> > accelerate your shift to cloud computing.
>>> > http://p.sf.net/sfu/novell-sfdev2dev
>>> > _______________________________________________
>>> > j-trac-users mailing list
>>> > j-t...@li...
>>> > https://lists.sourceforge.net/lists/listinfo/j-trac-users
>>> >
>>> >
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> j-trac-users mailing list
>>> j-t...@li...
>>> https://lists.sourceforge.net/lists/listinfo/j-trac-users
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> j-trac-users mailing list
>> j-t...@li...
>> https://lists.sourceforge.net/lists/listinfo/j-trac-users
>>
>>
>
|