tag:blogger.com,1999:blog-7695548117745152092024-03-13T01:45:04.873+01:00m a c h i n e p l a n tMy computer forces me to write thisBoris Folgmannhttp://www.blogger.com/profile/13067133657246292377noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-769554811774515209.post-75992338567179881402012-07-11T12:57:00.000+02:002012-07-11T12:58:55.070+02:00Rare Builds: wml (Website Meta Language)Welcome to the first posting of my new Rare Builds series. In this postings I'll describe the most easiest ways to get and install certain software on systems running with CentOS 6 or RHEL 6.<br />
<br />
<a href="http://thewml.org/" target="_blank">WML</a> in this context is Website Meta Language, basically a compiler for translating .wml files to .html. Not to be mixed up with Wireless Mark-up language which is a totally different beast! While the documentation of WML is still found at its original location it cannot be downloaded any longer. In fact old versions of WML cannot be compiled on CentOS/RHEL 6, since <a href="https://bugzilla.redhat.com/show_bug.cgi?id=836544" target="_blank">DynaLoader.a is no longer part of the perl RPM</a>.<br />
<br />
Fortunately there exists a <a href="http://developer.berlios.de/projects/thewml/" target="_blank">fork</a> which compiles on latest CentOS/RHEL releases. Version <a href="http://developer.berlios.de/project/showfiles.php?group_id=5225" target="_blank">2.0.12</a> compiled on my systems. <a href="http://developer.berlios.de/project/showfiles.php?group_id=5225" target="_blank">2.2.0</a> which switched from autoconf to cmake <a href="http://developer.berlios.de/bugs/?func=detailbug&bug_id=18652&group_id=5225" target="_blank">did not</a>! Just leave a comment if you've got some more information on this.<br />
<br />Boris Folgmannhttp://www.blogger.com/profile/13067133657246292377noreply@blogger.com3Backnang, Deutschland48.9471455 9.434181348.905432 9.3552173000000014 48.988859 9.5131453tag:blogger.com,1999:blog-769554811774515209.post-65065835712564607522011-02-22T11:33:00.001+01:002011-02-22T11:35:10.940+01:00Updating Google App Engine SDK for NetBeans plug-inWhen a new version of the Google App Engine SDK is released and you still use an older one when deploying your app to GAE you are notified during the deployment process with this message:<br />
<br />
<code>-----------<br />
Please visit <a href="http://code.google.com/appengine">http://code.google.com/appengine</a> for the latest SDK.<br />
********************************************************<br />
</code><br />
So download and unzip the new SDK. Goto <i>Tools/Servers</i> and remove Google App Engine. Then add it again as a new server and select the directory of the new SDK when asked for it. For more information see my previous posting <a href="http://blog.machineplant.com/2011/01/using-netbeans-to-develop-for-google.html">Using NetBeans to develop for Google App Engine</a>.<br />
If you also downloaded and unzipped the GAE documentation you can add the Javadocs by selecting Google App Engine in the Servers window and click <i>Add ZIP/Folder</i> in the Javadoc tab. <br />
Please make sure that you select the right sub directory, e.g. if you unzipped <code>google-appengine-docs-20110211.zip</code> the path is <code>google-appengine-docs-20110211/appengine/docs/java/javadoc/</code><br />
<a href="http://blog.machineplant.com/2011/01/using-netbeans-to-develop-for-google.html"><br />
</a>Boris Folgmannhttp://www.blogger.com/profile/13067133657246292377noreply@blogger.com171522 Backnang, Deutschland48.945471 9.43014248.8890995 9.3134125 49.001842499999995 9.5468715tag:blogger.com,1999:blog-769554811774515209.post-26775391854995773662011-01-27T11:54:00.002+01:002011-01-28T10:34:41.536+01:00Using NetBeans to develop for Google App Engine<a href="http://code.google.com/appengine/images/appengine-noborder-120x30.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://code.google.com/appengine/images/appengine-noborder-120x30.gif" /></a><a href="http://code.google.com/appengine/">Google App Engine (GAE)</a> is a kind of servlet container or application server that runs in Google's server cloud and enables you to host high available web apps for free. At least if the app's usage does not get too high.<br />
<br />
If more than appx. 5 million pages are served per month you will need to <a href="http://code.google.com/intl/de-DE/appengine/docs/billing.html#Billable_Quota_Unit_Cost">pay for additional bandwith, cpu time and memory</a>.<br />
<br />
This posting is a how-to on comfortably developing and testing web apps for <a href="http://code.google.com/appengine/">Google App Engine (GAE)</a> using the OpenSource IDE <a href="http://netbeans.org/">NetBeans</a>.<br />
<br />
First download the latest (currently v1.4.0) <a href="http://code.google.com/appengine/downloads.html">GAE SDK</a> for Java and unzip the archive. Don't use the Python SDK, as NetBeans is a Java program.<br />
<br />
A <a href="http://kenai.com/projects/nbappengine/pages/Home">plugin for NetBeans</a> exists that adds GAE as a server to the IDE so you can deploy your project with just one click. Unfortunately the plugin developers on kenai.com didn't recompile the plugin yet for the current NetBeans release 6.9. In this case you have to download the <a href="http://www.mozgoweb.com/posts/google-app-engine-plugin-for-netbeans-6-9/">3rd party rebuild</a>. Then use the <i>Tools</i> menu to open the <i>Plugins</i> window. Select the <i>Downloaded</i> tab and click the <i>Install</i> button.<br />
<br />
Now use the <i>Tools</i> menu again to open the <i>Servers</i> window. Check which ports are already used by e.g. tomcat and your other servers. If you use a different port number for the GAE server this will have the advantage that you can run different types of servers simultaneously.<br />
<br />
Now have a look a the screencast from the plugin authors, embedded below this paragraph, to see how you enable the GAE server. Right after the start of the process you have to select the directory where you unzipped the GAE SDK you previously downloaded from the GAE web site.<br />
Later on the screenscast shows you how to create your first GAE project. <br />
<br />
<div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/kAhaDNs87sc?feature=player_embedded' frameborder='0'></iframe></div><br />
Before you can deploy an application to Google App Engine you have to <a href="https://appengine.google.com/">create a GAE account</a>, if you don't already have one. You can use any Google Account (e.g. your Google Mail account) for that or create a new one. A mobile phone is required as Google will send you a SMS with an authentication code you have to enter on the web page.<br />
<br />
After your first login to the GAE dashboard Google offers you to create your first GAE application. Just do it now, because not every name is allowed or may even be already taken, because currently all projects are mapped to subdomains of <a href="http://appspot.com/">appspot.com</a>. Later you can add more applications on appspot.com. Up to 10 apps per account are currently allowed by Google.<br />
<br />
Now right click on your project and select "Deploy to Google App Engine" as shown at the end of the video. The plugin will ask you once for your GAE account's email address and password. Then the application is deployed and can be used on <i>http://appname.appspot.com</i><br />
Please note that the deployment will fail if you did not create the application before on the GAE dashboard as described above. The application name in the dashboard has to match the one that is configured in <span style="font-family: "Courier New",Courier,monospace;">/WEB-INF/appengine-web.xml</span>. I suggest to use the same name for your NetBeans project to keep things simple.<br />
<br />
Check back to the <a href="https://appengine.google.com/">GAE dashboard</a> and select your application to get all sorts of information about the usage, logging, and so on.Boris Folgmannhttp://www.blogger.com/profile/13067133657246292377noreply@blogger.com5tag:blogger.com,1999:blog-769554811774515209.post-31225389628346206692011-01-26T11:13:00.000+01:002011-01-26T11:13:22.645+01:00Welcome to my blog!To reach a wider audience I've decided to maintain this English blog in addition to my existing <a href="http://maschinenwerk.de/">German blog</a> which is also always reachable using the <span style="font-family: "Courier New",Courier,monospace;">maschinenwerk</span> tab on top of this page.<br />
The main focus of this blog are IT related topics like software development or system administration. Enjoy reading!Boris Folgmannhttp://www.blogger.com/profile/13067133657246292377noreply@blogger.com171522 Backnang, Deutschland48.945471 9.43014248.8890995 9.3134125 49.001842499999995 9.5468715