rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jasha Joachimsthal <j.joachimst...@onehippo.com>
Subject Re: [jira] [Commented] (RAVE-59) Create automation for building of demo package
Date Thu, 16 Jun 2011 17:09:57 GMT
Hi Marlon,

unpacking the tar.gz on my mac using the same command as you leads to the
following listing:
Jasha-heeft-een-MacBook-Pro:tmp jashaj$ cd rave-0.1-incubating-SNAPSHOT/bin/
Jasha-heeft-een-MacBook-Pro:bin jashaj$ ls -la
total 1216
drwxr-xr-x  25 jashaj  wheel     850 16 jun 19:07 .
drwxr-xr-x  12 jashaj  wheel     408 16 jun 18:45 ..
-rw-r--r--   1 jashaj  wheel   22226 16 jun 18:45 bootstrap.jar
-rw-r--r--   1 jashaj  wheel    2374 16 jun 18:45 catalina-tasks.xml
-rw-r--r--   1 jashaj  wheel   11797 16 jun 18:45 catalina.bat
-rwxr-xr-x   1 jashaj  wheel   17592 16 jun 18:45 catalina.sh
-rw-r--r--   1 jashaj  wheel  199453 16 jun 18:45
commons-daemon-native.tar.gz
-rw-r--r--   1 jashaj  wheel   23546 16 jun 18:45 commons-daemon.jar
-rw-r--r--   1 jashaj  wheel    1342 16 jun 18:45 cpappend.bat
-rw-r--r--   1 jashaj  wheel    2108 16 jun 18:45 digest.bat
-rwxr-xr-x   1 jashaj  wheel    1624 16 jun 18:45 digest.sh
-rw-r--r--   1 jashaj  wheel    3150 16 jun 18:45 setclasspath.bat
-rwxr-xr-x   1 jashaj  wheel    4114 16 jun 18:45 setclasspath.sh
-rw-r--r--   1 jashaj  wheel     876 15 jun 14:01 setenv.bat
-rwxr-xr-x   1 jashaj  wheel     853 15 jun 14:01 setenv.sh
-rw-r--r--   1 jashaj  wheel    2108 16 jun 18:45 shutdown.bat
-rwxr-xr-x   1 jashaj  wheel    1563 16 jun 18:45 shutdown.sh
-rw-r--r--   1 jashaj  wheel    2109 16 jun 18:45 startup.bat
-rwxr-xr-x   1 jashaj  wheel    1956 16 jun 18:45 startup.sh
-rw-r--r--   1 jashaj  wheel   26532 16 jun 18:45 tomcat-juli.jar
-rw-r--r--   1 jashaj  wheel  241274 16 jun 18:45 tomcat-native.tar.gz
-rw-r--r--   1 jashaj  wheel    3479 16 jun 18:45 tool-wrapper.bat
-rwxr-xr-x   1 jashaj  wheel    3472 16 jun 18:45 tool-wrapper.sh
-rw-r--r--   1 jashaj  wheel    2113 16 jun 18:45 version.bat
-rwxr-xr-x   1 jashaj  wheel    1567 16 jun 18:45 version.sh


Jasha Joachimsthal

Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)

www.onehippo.com


On 16 June 2011 17:53, Marlon Pierce <mpierce@cs.indiana.edu> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I just tried to build on a clean linux machine but the build failed:
>
> [ERROR] Failed to execute goal on project rave-portal: Could not resolve
> dependencies for project
> org.apache.rave:rave-portal:war:0.1-incubating-SNAPSHOT: Could not find
> artifact javax.servlet:jstl:jar:1.2 in java.net (
> http://download.java.net/maven/2/) -> [Help 1]
>
> I'll file a Jira ticket.
>
> I get the permission problems with the .tar.gz on two different macs:
>
> 129-79-49-102:ravetest2 mpierce$ tar -zxf
> rave-0.1-incubating-SNAPSHOT-bin.tar.gz
> 129-79-49-102:ravetest2 mpierce$ ls -trl
> total 121696
> d-wxr----x  7 mpierce  wheel       238 Jun 16 11:46
> rave-0.1-incubating-SNAPSHOT
> - -rw-r--r--  1 mpierce  wheel  62306184 Jun 16 11:48
> rave-0.1-incubating-SNAPSHOT-bin.tar.gz
>
>
> and
>
> 129-79-49-102:ravetest2 mpierce$ sudo ls -trl
> rave-0.1-incubating-SNAPSHOT/bin
> total 1104
> - --w----r--  1 mpierce  wheel    2113 Jun 16 11:46 version.bat
> - --w----r--  1 mpierce  wheel    3479 Jun 16 11:46 tool-wrapper.bat
> - --w----r--  1 mpierce  wheel  241274 Jun 16 11:46 tomcat-native.tar.gz
> - --w----r--  1 mpierce  wheel   26532 Jun 16 11:46 tomcat-juli.jar
> - --w----r--  1 mpierce  wheel    2109 Jun 16 11:46 startup.bat
> - --w----r--  1 mpierce  wheel    2108 Jun 16 11:46 shutdown.bat
> - --w----r--  1 mpierce  wheel    3150 Jun 16 11:46 setclasspath.bat
> - --w----r--  1 mpierce  wheel    2108 Jun 16 11:46 digest.bat
> - --w----r--  1 mpierce  wheel    1342 Jun 16 11:46 cpappend.bat
> - --w----r--  1 mpierce  wheel   23546 Jun 16 11:46 commons-daemon.jar
> - --w----r--  1 mpierce  wheel  199453 Jun 16 11:46
> commons-daemon-native.tar.gz
> - --w----r--  1 mpierce  wheel   11797 Jun 16 11:46 catalina.bat
> - --w----r--  1 mpierce  wheel    2374 Jun 16 11:46 catalina-tasks.xml
> - --w----r--  1 mpierce  wheel   22226 Jun 16 11:46 bootstrap.jar
>
> Also, is it intended for the .zip file to have only .bat and not .sh files?
> This is what I get (on mac again).
>
>
> Marlon
>
>
>
>
> On 6/16/11 11:03 AM, Ate Douma wrote:
> > On 06/15/2011 04:19 AM, Marlon Pierce wrote:
> > Permissions of the .tar.gz are screwy on my mac: the directory doesn't
> > have "read" permissions after I unpack it.
> >
> >> Hi Marlon,
> >
> >> I just build the distributions natively under OS X but it all simply
> just works as expected. I don't have any permissions problems either. I
> tried also to extract the tar.gz and .zip archives which I build under Linux
> and those too worked without an issue.
> >
> >> Not sure therefore what exactly could be wrong on your environment.
> >> Can others please test this as well and provide some feedback?
> >> I haven't yet tried and tested on Windows either, but maybe someone else
> did?
> >
> >> Ate
> >
> >
> >
> > Marlon
> >
> >
> > On 6/14/11 9:52 PM, Ate Douma (JIRA) wrote:
> >>>>
> >>>>      [
> https://issues.apache.org/jira/browse/RAVE-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049569#comment-13049569]
> >>>>
> >>>> Ate Douma commented on RAVE-59:
> >>>> -------------------------------
> >>>>
> >>>> I've committed a basic working automation for building a Rave demo/bin
> distribution using maven-assembly-plugin and leveraging the cargo plugin to
> setup and pre-deployed rave portal on Tomcat.
> >>>>
> >>>> The distribution packages can be build from the rave-project folder
> using the "dist" profile by running: $mvn -P dist
> >>>> This will enforce a maven clean + install and thereafter build a
> rave-<version>-bin.tar.gz and rave-<version>-bin.zip archive.
> >>>> Note: these artifacts are build in the rave-portal/target directory!
> >>>>
> >>>> Furthermore, I disabled the default enabled maven-assembly-plugin
> attaching of these "artifacts" to the project, meaning these will *not* be
> deployed to the remote maven repository (Nexus) during a release.
> >>>> You would need to specify -P dist anyway to get it to work, so in
> practice this is not really needed, but for sanity reasons I'd rather make
> sure it can't happen anyway.
> >>>>
> >>>> Can everyone please test drive this, including building the
> distributions on a Windows environment and verify if these distributions
> thereafter still are valid to be extracted and executed/run on a Linux
> environment?
> >>>> Specifically, please verify if the execution bit for shell scripts is
> still set, etc.
> >>>>
> >>>> Furthermore, and IMO more importantly, what needs to be done is
> providing the appropriate LICENSE and NOTICE files for the binary
> distributions (including the rave-shindig.war and rave-portal.war).
> >>>> I created a separate RAVE-63 issue for that.
> >>>>
> >>>> Finally, I've provided basic/skeleton CHANGELOG file in the
> rave-project folder and a demo/bin specific README file, both to be included
> in the demo distributions.
> >>>> These also need to be filled in, for which I created issue RAVE-64
> >>>>
> >>>>
> >>>>
> >>>>> Create automation for building of demo package
> >>>>> ----------------------------------------------
> >>>>>
> >>>>>                  Key: RAVE-59
> >>>>>                  URL: https://issues.apache.org/jira/browse/RAVE-59
> >>>>>              Project: Rave
> >>>>>           Issue Type: Sub-task
> >>>>>             Reporter: Matt Franklin
> >>>>>             Assignee: Ate Douma
> >>>>>              Fix For: 0.1-INCUBATING
> >>>>>
> >>>>>
> >>>>> C
> >>>>
> >>>> --
> >>>> This message is automatically generated by JIRA.
> >>>> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> >>>>
> >>>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJN+ib0AAoJEEfVXEODPFIDfzwH/jtSPeqi50LidRDqieW0xU8y
> /HWxnyyZ9KvqQwjO4NAfJt7yXTKtgD2NDLIvSumn5Six6FPXm1K1ASqnC3zFEvZa
> HdgaYMjrpxFW2xA4PHaYQ7SDwRBSOWu0b5xv/SxtzHfBqCSfpBSdGwT3dFVTLF0v
> xNyItyoqpFIW/syKhHK4CDbpUS0Iqg90UsG5u40FdjnQVd5DiW+ASDuaPqwtSFoh
> 9oRrcujb2o33o5yM6SVEfaHqnnuhXC8WK3tXiL6Q+mpdyNBK4r5IFBvgIXZwTe35
> G4avJSAU97+TG36bYY+BZFTG/ycKG30bfEBSHJtvhT+7k11riD6tvtARgDU4Wik=
> =zpWv
> -----END PGP SIGNATURE-----
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message