Support

Forums

Contact Me

Posts Tagged 'development'

Development

Development may refer to: [http://en.wikipedia.org/wiki/Development]

When using Maven jetty:run, CSS and JavaScript files are never updated

apache_maven

 jetty-logo-80x22

I was getting mad because jetty was refusing to redeploy my static files (xhtml, css) in Eclipse until I find the reason

The Jetty Web Server provides a HTTP server and Servlet container capable of serving static and dynamic contend either from a standalone or embedded instantiations.

Jetty buffers static content for webapps such as html files, css files, images etc and uses memory mapped files to do this if the NIO connectors are being used. The problem is that on Windows, memory mapping a file causes the file to be locked, so that the file cannot be updated or replaced. This means that effectively you have to stop Jetty in order to update a file.

To fix this, add a line with to your maven-jetty-plugin configuration:

org.mortbay.jetty 
maven-jetty-plugin 
6.1.5
   
  ... 
  src/main/resources/webdefault.xml 
  

The default webdefault.xml file is found in the lib/jetty.jar at org/mortbay/jetty/webapp/webdefault.xml. Extract it to a convenient disk location and edit it to change useFileMappedBuffer to false:

 
    useFileMappedBuffer 
     false 
   

Copy the changed file into src/main/resources/ of your project.

The problem is explained more in Jetty's documentation.

Eclipse? not only for java developer

I came across this article at IBM developerworks, which explain how to use the RDT: Ruby IDE for the Eclipse platform. I decide also to give You here an overview of all languages supported by eclipse:

  • JDT: The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of any Java application, including Eclipse plug-ins. It adds a Java project nature and Java perspective to the Eclipse Workbench as well as a number of views, editors, wizards, builders, and code merging and refactoring tools. The JDT project allows Eclipse to be a development environment for itself.

  • RDT is an open source Ruby IDE for the Eclipse platform.
    Features supported are syntax highlighting, on the fly syntax check, graphical outline, Test::Unit view/runner, Ruby application launching, content assist, source formatter, and a Ruby debugger.

  • CDT (C/C++ Development Tools) Project is working towards providing a fully functional C and C++ Integrated Development Environment (IDE) for the Eclipse platform. 

  • Cobol: Eclipse fundation is hosting one COBOL CDT project but there is also a commercial plugin: the ACUCOBOL-GT Eclipse Plug-in,

  • PHP:   PHPeclipse (open source CPL) PHP parser, debugger, code formatter, outline view, templates. Note also that ZEND has joined the eclipse board, so their flagship product ZEND Studio Pro may have a future as an eclipse plugin.

  • PERL: EPIC is an opensource Perl IDE for the Eclipse platform. Features supported are syntax highlighting, on the fly syntax check, content assist, perldoc support, source formatter, templating support and a Perl debugger. A regular expression plugin and support for the eSpell spellchecker are also available.

  • Python: PyDev is a plugin that enables users to use Eclipse for Python and Jython development. It comes with many goodies such as code completion, syntax highlighting, syntax analysis, refactor, debug and many others.
  • Eiffel: The Eclipe Eiffel Development Tools (EDT) are a set of plugins which eventually implement a full-fledged, highly integrated Eiffel development environment based on the Eclipse Platform
  • Groovy: The plugin provides a Groovy editor for editing scripts or classes in Groovy (Groovy is an object-oriented programming language designed for the Java platform as an alternative to Java with features from Python, Ruby and Smalltalk. see WikiPedia) language. Groovy makes writing scripts and applications for the Java Virtual Machine fast and easy.
  • Microsoft C#: Improve C# code editing with: Creation of new C# files (with a basic structure) - Syntax highlighting - Content assistant for C# keywords - Auto-indentation - C# code compilation etc  Unfortunately no more active development since June 2004

And the list goes on......beside this nearly all minor scripting languages are supported (jsp, javascript ... for ex.) and minor markup language (XML, HTML, JSF...) with the tremendous list of plugins:

  • www.eclipseplugincentral.com Eclipse Plugin Central (EPIC) offers the Eclipse community and users of IBM WebSphere Studio application development environments (WSAD, WSSD, WSED, etc.) a convenient, information-rich portal that helps software developers find open source and commercial Eclipse plug-ins, tools, and products that enhance the entire Java software development life-cycle.
  • eclipse-plugins.2y.net
Articles tagged

Eclipse version 3.1 is AVAILABLE

Eclipse version 3.1 is AVAILABLE. New features added in this release: full support for Java 5.0 and improved support for developing rich client applications. Performance has been also significantly enhanced across the board since the 3.0 release. (what a blast with Jrockit 1.4.2!!!) . SWT can make a lot more graphical tricks, and has more widgets
Do not forget to read what is maybe the best documentation online: 
New and Noteworthy, (because You can get the substance of the new features in very few pages)
Articles tagged

cedTag 2.5.6 for J2.5 Released

CedTag  has been updated to version 2.5.6 and contains a lot of nice new and exciting features. For existing users the update will display in the Extensions Manager under Updates. If you do not have this currently installed, you can click the link below and install as normal via the Extensions Manager.

Read more: cedTag 2.5.6 for J2.5 Released

What to expect from Eclipse 3.1

The Eclipse Foundation is targeting release of Eclipse 3.1 for late June 2005. There have been seven milestone releases of version 3.1 dating back to August 2004. The Eclipse Requirement Council identified six major themes that the technical community will deliver on:

  • Scaling Up
  • Enterprise Ready
  • Design for Extensibility
  • Rich Client Platform
  • Simple to Use 
  • Appealing to the Broader Community

As with previous releases, the Eclipse development team is committed to preserving backward compatibility with previous version of Eclipse. Eclipse 3.1 will be compatible with Eclipse 3.0 for API (contract), Binary (plug in), Source and Workspace. Most of the Eclipse SDK is "pure" Java code and has no direct dependence on the underlying operating system. The 3.1 release of the Eclipse Project is written and compiled against version 1.4 of the Java 2 Platform APIs, and targeted to run on version 1.4 of the Java 2 Runtime Environment, Standard Edition.
Eclipse SDK 3.1 is tested and validated on the following platforms:

  • Microsoft Window XP (Win 32) on Intel x86
  • Red Hat Enterprise Linux WS 3 (GTK) on Intel x86
  • SUSE Linux Enterprise Server 9 (GTK) on Intel x86
  • Sun Solaris 8 (Motif) on SPARC
  • HP-UX 11i (Motif) on hp9000 PA-RISC
  • IBM AIX 5L v5.2 (Motif) on PowerPC
  • Apple Mac OS X 10.3 (Carbon) on PowerPC

More information about Eclipse 3.1 can be found Here

Articles tagged

TeamCity updated to 5.1.1 and a Joomla! module soon available :-)

I did upgrade from TeamCity 5.0.1 to TeamCity 5.1.1 In no time, just drop the war in my Tomcat container :-)

At this address you will always find the latest snaphosts of some (I would need 44 builds to display them all!) of my PHP projects for Joomla!

http://teamcity.waltercedric.com

I will also upgrade tomorrow early morning our TeamCity Licensed server at www.Innoveo.com .

Continuous build for Joomla!

By the way I have still to deliver (HERE and HERE) what i promised on the Joomla! development group, aka a full solution for developing Joomla! using Maven for PHP and Teamcity/Bamboo/Husdon. You can see the documentation I made in my WIKI (work in progress)

TeamCity integration in Joomla!

At the same time, Joomla! users that are using TeamCity, search no more, I will be providing you the first GPL module for Joomla! that let you display in your site the status of all your builds/projects! The code is heavily using the REST API with PHP CURL and a bit of XML parsing. If you have any requirements, it is still time to drop me an email ;-)

cedTag 2.5.5 for J2.5 Released

cedTag4

CedTag  has been updated to version 2.5.5 and correct a lot of bugs and contains some nice new features.

CedTag is the continuation of the GPL component Joomla Tags (www.joomlatags.org), Most of the code if not all has been now rewritten according to the new standard of Joomla 2.5, the component has been greatly extended and most bugs have been removed. I will continue removing, refactoring existing codebase, in order to be able to add new features faster.

Read more: cedTag 2.5.5 for J2.5 Released

A treasury from Google Labs: a new programming model

MapReduce: Simplifed Data Processing on Large Clusters

"MapReduce is a programming model and an associated implementation for processing and generating large data sets. Users specify a map function that processes a key/value pair to generate a set of intermediate key/value pairs, and a reduce function that merges all intermediate values associated with the same intermediate key. "
Statistics of jobs in august 2004, as usual impressive amount of data!!!
Number of jobs 29,423
Average job completion time 634 se
Machine days used 79,186 days
Input data read 3,288 TB
Intermediate data produced 758 TB
Output data written 193 TB

...

"It has been used across a wide range of domains within Google, including:   large-scale machine learning problems,   clustering problems for the Google News and Froogle products, MapReduce has been so successful because it makes it possible to write a simple program and run it ef ciently on a thousand machines in the course of half an hour, greatly speeding up the development and prototyping cycle. Furthermore, it allows programmers who have no experience with distributed and/or parallel systems to exploit large amounts of resources easily." more in the PDF here

Want to join development of Joomla component

 
mail from a new OpenComment  Developer James Friesen:
I found the CVS code. I realized that you have that in there as a  branch of com_akocomment. I was mislead because the project still has the old name. I found the opencomment code but I need to know  what versions are which. I see that you are already working on a version for Joomla 1.5.x but I are you also planning to finish the version for 1.0.x? I don't think I'll be upgrading to 1.5 for a while so I'm interested in making the 1.0.x version work.  I connected to the CVS repository. I see that each regular Joomla  folder as a akocomment and opencomment version underneath it. What's  unclear to me is how to manage the different versions (for 1.0.x and 1.5.x) and how to run the latest version of OpenComment on my test server. If you can offer some tips that would be helpful.

In fact I have still not found a correct solution to the problem of PHP versionning under PHPEclipse

  • I don't want to version joomla together with a database for each component i develop...otherwise I will have to version 5Mb (joomla) + database (or delta) + my component.
  • PHPEclipse (or eclipse) only make CVS version at the project level...it refuse to check in a directory (a component or module for example) in a project
I really need to ask some people on Joomla Forge, and find a solution to that issue.

Code version Joomla 1.0.x or Joomla 1.5.x?

OpenComment has been develop under Joomla 1.0.8, it was working but was not fully tested...This code has been tagged and closed in a CVS version: v01_00_00
The CVS HEAD contains the code for the 1.5.x version of Joomla. If You want to continue version 1.0 You'll need to open a CVS BRANCH of the version v01_00_00

How to  join the development?
  1. You need to install Eclipse 3.1.1 and the plugin PHPEclipse (PHP eclipse do not run under 3.2Mx)
  2. You need to install the latest JDK to run Eclipse,
  3. You need to try to install the PHP debugger.
  4. You need to install MySQL4
  5. You need to install a Joomla 1.0.8 version or Joomla 1.5.X version
  6. You need to be accredited y me to have a commiter access to CVS
As You see a lot of things to do before ever being able to write code. In order to help You, I have decide to open:

A new project at Joomla Forge (It must be accepted first by the forge)

I found another project which aimed at the same result:
PHP Development Studio 
Joomla/Mambo PHP Development Studio is a pre-packaged Eclipse version aimed at the PHP /MySQL developer. Includes tools like: PHPEclipse, Clay database modeller, SQL Explorer, QuickRex, Subversion client and FTP&WebDAV client. Serveral licenses apply. 

 I will in the next hour  provide a  full runnable PHPeclipse+Joomla+ Mysql+ PHP+ everything....environment. So You only have to:
  • Download and Install that big zip file.
  • Connect to CVS
  • I will deliver for each component in development (ex opencomment) a SQL script to initialize database. (And this because I develop the installer at the end of development.)

Eclipse 3.1 M3 - New and Noteworthy

While the Brits are lighting up for Bonfire Night and burning effigies of Guy Fawkes, the Eclipse development team has delivered their 3rd Eclipse 3.1 milestone build. Here are some of the more noteworthy things available in milestone build M3 (November 5, 2004) which is now available for download. See the M3 build notes for details about bugs fixed and other changes.

Donations

Thank You for supporting my work