From: Aplaws D. L. <apl...@li...> - 2009-01-31 04:58:50
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6306890 By: terry_permeance We've been doing a bit of work with Liferay recently. It it so easy to get going. You check it out of subversion, edit a properties file to point it at a tomcat bundle and run ant. Does anyone have any thoughts on simplifying APLAWS development, at least avoiding the need for a whole suite of extra steps before "ant deploy" just works? I appreciate that someone went to a lot of work to make the "ccm" environment really flexible and support multiple developers and so forth but in practice I think it's a bit of overkill... Thoughts? Regards, Terry ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-01-31 08:39:35
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6308646 By: shawnlane I totally agree with these comments. APLAWS needs to be build-able and deployable in the same way as most OSS java software does... ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-03 00:06:41
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6330785 By: terry_permeance I've created a prototype of an 'easy build' version of aplaws based on trunk. Instructions are at http://svn.fedorahosted.org/svn/aplaws/contrib/permeance/aplaws/README.txt You should be able to get aplaws running in <15min Feedback welcome! Regards, Terry ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-21 12:49:19
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6482154 By: bprucha Terry, I have tried out your build system but had no luck getting it to work properly. Some notes: I am using it under a Windows environment and tried to only build ccm-core * Had to install Antelope, Apache Commons, and Ant Contrib tasks - your instructions just said you needed Ant. * Had to build JDOEnhance. Had to set CCM_CONFIG_HOME env var to point to this class * Had to set CCM_TOOLS_HOME, CCM_CONFIG_LIB_DIR, and CCM_HOME evn variables * Had to copy the httpunit-1.5.4.jar, junit-3.8.jar, and junitperf-1.8.jar files from tools/rpms to where CCM_CONFIG_LIB_DIR was set. * Had to copy servlet and jsp api jars to ccm-core/lib to get ccm-core to compile * Couldn't get ant load-bundle to complete. The MasterTool command on line 18 of build-ccm.xml wouldn't run because ${webapp.dist.dir}/WEB-INF/classes and ${webapp.dist.dir}/WEB-INF/lib don't exist. No jar files were ever built during ant build and I didn't see anyway to get the MasterTool classpath to point to the built ccm-core classes under ccm-core/build/classes. Am I missing something? Thanks, Brett ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-22 04:25:27
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6487410 By: terry_permeance Hmmm. Did you check out all of http://svn.fedorahosted.org/svn/aplaws/contrib/permeance/aplaws/ into a fresh folder? There is no reference to CCM_CONFIG_HOME, CCM_TOOLS_HOME and CCM_CONFIG_LIB_DIR in any of the build, properties and launch files (check with grep). I can't see how your changes affected the build process??? I don't have any CCM environment variables set at all. Do you have Ant 1.7 and Java 6 installed? Maybe you could start afresh, and as soon as you run into a problem, stop and report the problem to me with a copy/paste from the console. Regards, Terry P.S. I am using Windoze as well. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-22 04:51:45
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6487509 By: terry_permeance I've committed an example install log. It might be helpful to see how the process is supposed to work... http://svn.fedorahosted.org/svn/aplaws/contrib/permeance/aplaws/INSTALL-EXAMPLE. log ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-23 03:05:17
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6496986 By: bprucha I am using Ant 1.7 and Java 6. I did not check out the entire aplaws folder. I checked out the root files, runtime, tools, and added my own ccm-core. I then modified the project.xml to include only ccm-core and ran ant -f build-configure.xml I'll look into it more tomorrow and try out Peter's ECDC and let you know what I find out. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-23 10:01:44
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6500279 By: pboy OK, that does explain why you had to install the additional software. Terry added several libs to the tools directory. | | I'll look into it more tomorrow and try out Peter's ECDC and let you know what I find out. | It's Terry's work. I just did a little bit (re-)packaging. Peter ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-22 23:59:52
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6495420 By: pboy Brett, I've created a new subdir in trunk: tools-ng. I have compiled Terry's work into a new "Easy CCM Development Configuration" (ECDC). If you check it out, it should work for you. | * Had to install Antelope, Apache Commons, and Ant Contrib tasks - your instructions just said you needed Ant. | * Had to build JDOEnhance. Should not be requirred, the libs are included. | * Had to set CCM_CONFIG_HOME env var to point to this class | * Had to copy the httpunit-1.5.4.jar, junit-3.8.jar, and junitperf-1.8.jar files from tools/rpms to where CCM_CONFIG_LIB_DIR was set. Not checked these topics yet. | * Had to copy servlet and jsp api jars to ccm-core/lib to get ccm-core to compile Are included | * Couldn't get ant load-bundle to complete. Does work here fine. Peter ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-23 11:21:41
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6501036 By: terry_permeance I've add a "ccm" command at bin\ccm.cmd. It uses the ant script so doesn't need any environment settings or perl. Example: D:\temp\aplaws>bin\ccm get waf.debug waf.debug=false D:\temp\aplaws>bin\ccm set waf.debug=true D:\temp\aplaws>bin\ccm get waf.debug waf.debug=true The ccm.cmd is trivial so would be easily ported to ccm.sh. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-23 12:07:57
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6501325 By: terry_permeance I've now got "ant run" (foreground), "ant start" (background) and "ant stop" targets working. However, "ant stop" doesn't actually kill the process because of some threads not being marked as daemon. Regards, Terry P.S. This is in our contrib branch. I'll check out trunk. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-23 12:08:13
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6501369 By: pboy Great! You've just created the base of the new user installation and maintenance tool. We should put it into ~/WEB-INF/bin (there are already some like ccm-run which will be outdated) along with support files in ~/WEB-INF/bin/lib. This for those, who log into their production server and have to do maintenance tasks. It can be the base for a local user install as outlined in https://fedorahosted.org/aplaws/milestone/(3) New Simplified and Standard Compliant Installation and Maintenance Procedure If we base usertools completely on ant, we could try to manage to reuse as many ant scripts as possible und to differentiate between devel and user install by a build.xml file which imports a different set of ant *.xml files and property files. Peter ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-04 14:31:44
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6343041 By: bprucha When Red Hat first dropped support for the CMS they setup a project on ObjectWeb called Byline which was supposed to be the new development line for CCM and APLAWS going forward. I don't know what happened with that. Anyway I created Ant build files as a method to build the software inside Eclipse. I created a WIKI on the process at: https://wiki.objectweb.org/byline/Wiki.jsp?page=Eclipse I have since improved the process but the principal is still the same. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-05 03:16:45
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6346649 By: terry_permeance Hi Brett, I have aimed for something a bit more than just building inside Eclipse: 1. No environment variables required ($CCM_BASE, etc.) 2. No Perl scripts 3. Single development directory (all we need is $CCM_DEV_HOME) 4. Simple configuration (handful of properties files) 5. Generation of .classpath for developing inside Eclipse 6. Embedded database (Derby) for easy installation (work in progress) 7. Pre-loaded sample content section (work in progress) 8. Update to Java 6 + Tomcat 6 Regards, Terry ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-09 08:15:01
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6380155 By: pboy Brett, I just had a look on your byline work. Currently I don't know if it is usable for APLAWS just as it is. I suppose we have to adjust it. Are you still using and developing for APLAWS? (Byline project is no longer active. I suppose my post on its mailing list some years ago is the last one, it's a pity). Could you assist to refine the guide to develop with Eclipse (see https://fedorahosted.org/aplaws/wiki/DevelWithEclipse) and to integrate your tools into the current state of the development environment? By the way, did you receive my mail to your sourceforge address? Peter ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-11 13:41:11
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6400540 By: bprucha Peter, I've been working with my own flavor. I have reworked/ported the code to work with Microsoft SQL Server. I also don't run the servlet under the root context which required a number of fixes. Maybe that has been fixed in APLAWS now? If I ever find the time I will see what's needed to merge my code in with the APLAWS trunk. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-06 09:03:45
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6355429 By: pboy The biggest advantage of the current development system is its flexibility. In a Linux environment it is great, in a Windows environment it may be complicated, don''t know. We should create a set of criteria for a modified build system and create proposal as a milestone in trac! Some ideas are: a) preserve a CLI interface (as an alternative) for the lovers of emacs b) preserve the modularity of CCM / APLAWS c) preserve the flexibility of the current system d) usage of standard tools (maven etc.) e) replacement of PERL scripts by ant scripts to make it easier for different operating systems f) deployment into a standard test container (as part of Netbeans, and I suppose Eclipse as well) g) integration into graphical IDEs (Netbeans, Eclipse) h) use of modularised build scripts (on a per module base) i) backwards compatibility to the current system (at least for a limited time period) Peter ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-06 14:16:37
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6357143 By: bprucha Peter, That was going to be my response to Terry. Their are some things that will require setting certain variables from the start to compile the code. For example the location of JavaCC. Also the modularity of the code needs to be taken into consideration. The Ant scripts I created address these issues pretty well I think. The version I published on the WIKI lacks a number of things but it does provide a solid replacement for the PERL scripts which was my main goal since I am working in a Windows environment and never was able to get them to work. Brett ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-06 23:57:27
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6361091 By: terry_permeance Hi Peter, Maybe I wasn't clear but that is basically what I have done with my "proof-of-concept" build. If you compare http://svn.fedorahosted.org/svn/aplaws/contrib/permeance/aplaws/ with http://svn.fedorahosted.org/svn/aplaws/trunk/ you'll see that the primary differences are with the creation of build scripts in the base directory (influenced by liferay.com), some minor modifications to the tools folder (build-template.xsl, a few jars, eclipse-classpath-template.xsl) and the creation of a runtime folder (influenced by ofbiz.apache.org). Can we organise a Skype teleconference (or two or three) so we can discuss our individual efforts which seem to be moving in the same direction but working independently? Regards, Terry ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-09 08:38:09
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6380269 By: pboy Terry, I just had a look on your work. We should definitely take it as base for the development environment in the future. It would be good if you could provide instructions and a setup to use your script in an existing devel env. Most developer will use the standard APLAWS trunk and will have some kind of ccm devel installed. Would be great if you could provice a kind of "soft migration". The Skype ideas is great! But I must admit that I never used it before. I have the hardware somewhere around here in my office and there exists a Linux client. I will install it in the next 2 or 3 days. Perhaps I need some guidance to use it and how to come in contact with you. And I hope the speech quality is fine because English is not my native language. By the way: Did you receive my mail to your SourceForge account? Peter P.S. Sourceforge should use CCM forum to provide a real threaded discussion forum. It awful here. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |
From: Aplaws D. L. <apl...@li...> - 2009-02-24 15:25:59
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=6514334 By: bprucha Terry, I got the build working. I was using the build-template.xsl from the trunk which was where the env. variables were comming from. Thanks, Brett ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=368401 |