open -a TextEdit filename
You can replace TextEdit with any app name to open from the shell
Articles, notes and random thoughts on Software Development and Technology
open -a TextEdit filename
You can replace TextEdit with any app name to open from the shell
The .vdi file can be expanded using the same vboxmanage command as here. To use the expanded diskspace in XP you can either create a new partition from within XP (using the Computer Management tool from Control Panel/Admin Tools), or you can expand the current partition size to fill the available space.
To expand an existing partition, you’ll need to boot the virtual machine with a ISO disk image containing some disk utils, something like GParted. Attach the ISO disk image to your virtual machine and boot it up. Use the GParted tool to resize the partition, then shutdown, remove the mounted ISO and reboot Windows. It will now see the expanded partition size.
Here’s the problem: you start with a Web project in Eclipse, created via one of the Wizards. At some point you convert it to a Maven project, but when you deploy the project from Eclipse, your web content in /src/main/webapp is not deployed, because Eclipse is not aware of the Maven folder structure.
I’ve done this multiple times in the past and usually work out a way to build a ear/war and manually deploy it to my server or via a script instead, because I can’t work out how to get a converted project to deploy in Eclipse 🙂
The magic to get this to work is to add the maven-war-plugin to your Maven pom.xml file:
<plugin> <groupId>org.apache.maven.plugins</groupId> Â Â Â <artifactId>maven-war-plugin</artifactId> Â Â Â <version>2.3</version> Â Â Â <configuration> Â Â Â <failOnMissingWebXml>false</failOnMissingWebXml> Â Â Â Â </configuration> </plugin>