I have a MOJO I would like executed once, and once only after the test phase of the last project in the reactor to run.
Using:
if (!getProject().isExecutionRoot()) {
return ;
}
at the start of the execute() method means my mojo gets executed once, however at the very beginning of the build - before all other child modules.
...
For Maven2 how can I get the name of goal currently being executed in Mojo's execute method? Precisely I need value of @goal attribute inside Mojo's execute method.
...
My project generates source code using the Rats! parser generator. Rats! doesn't have a Maven plugin that I'm aware of, so I'm trying to build the parser using an Ant Java
task, like so:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration...
Hi,
I'm playing with the Mojo SDK and I want to get all contacts.
this.controller.serviceRequest('palm://com.palm.contacts/crud', {
method: 'listContacts',
parameters: {
limit: 100
},
onSuccess: this.handleListResponse.bind(this),
onFailure: function(errResp){
Mojo.Log.info(errResp.errorText)
...
I am starting to delve into the world of webOS and the Mojo SDK and having a great time so far, but I find myself having to constantly take a detour and read up on different subjects such as JSON, JavaScript, etc. I realize now that instead of diving in head first I probably should have done some reading on the core technologies behind ...
Does anyone know the URL for using the Mojo messaging service with the device. I can get it to work with the emulator from Google App Engine and .NET but it does not work on the device. I've read in some other forums that it may be related to the URL.
Anyone have any information. The URL I am currently using is https://ps15.sb.palm.c...
I'm a developer coming from Visual Studio 2008 looking to get my hands dirty writing some Palm Pre applications. I've heard a number of options for developing Palm Pre apps and am curious for a recommendation.
So far I have heard:
Eclipse IDE
Eclipse IDE with Aptana Plug-in
Aptana stand alone
Plain text editor
Could someone make a ...
Hello,
I am having difficulty with finding out how to get tap coordinates from tapEvent object, which is passed to my custom handler (I didn't find it's specification anyway). There is also singleTap event, which passes custom variables "X" as "Y", which is coordinates, i guess, but I can't invoke that one in Emulator.
The point is tha...
Possible Duplicate:
How to get access to Mavens dependency hierarchy within a plugin.
The dependency:tree plugin:goal has an option 'verbose' which displays all conflicts & duplicates in the dependency tree. I am trying to reuse that information in my own mojo to generate reports, however - I can't seem to figure out exactly how...
I want to customize my web page for Palm pre. Is the a way to use Mojo in web pages for palm pre? Can I for example use a Mojo picker or a scroll tag?
...
I'm trying to debug a javascript-heavy webapp running on the Palm Pre browser. There are various useful debugging messages that the app will output to console.log(). This app was not built specifically for the Palm Pre but runs great on other Webkit-based browsers such as Safari.
How can I view the output of console.log from the Web a...
I have created a maven2 Mojo that inspects certain file types for instances of certain strings. It is designed to be used in the test phase to report whether these files are vaild or not.
When it finds these undesired strings it outputs build failure alerts and fails the maven build using MojoFailureException.
I would like to do some i...
I have a project (here called my-artifact) which needs to generate sources from a model file. I've created a maven-plugin (my-code-generator) which is used as described in the pom.xml excerpt below. It loads and processes the model.xml from my-artifact's resources and generates code using some predefined templates stored within the plugi...
Does anyone know how to embed WYSIWYG editor in multiline TextField? I need rather complex editor such as TinyMCE, but I can't get it working with Mojo widgets.
Maybe, I'm doing something wrong? If there's a way to do it, please, give me some pointers!
Thanks in advance, Mikhail.
...
Hi there. I'm using maven-scm-plugin from within a Mojo and am trying to figure out how to determine if a directory D is a valid working directory of an SCM URL U (i.e. a checkout of U to D already happened).
The context is that I want to do a checkout of U if D is a working set or do an update if it isn't.
The plan is to
check out U...
Hi there.
I don't know if this is actually possible, but can I take complete control over logging from inside a Maven Mojo? With complete control I mean that only messages from my Mojo are logged or that I can decide wether a given message shall be logged.
The context is that I'm using the maven-scm-plugin in my plugin to do some SCM a...
Hi there. I'm using maven-scm-plugin from within an own Maven Mojo via an injected ScmManager object and am trying to figure out how to add a file to the SCM ignore list.
The methods that ScmManager provides don't seem to support this.
An ideal solution would work in all SCM systems that maven-scm-plugin supports. I'm not sure though i...
There was another question with an answer saying that you can use event.down.x to get the x-coordinate of a tap event. It also said that this was not well documented in the Palm Mojo SDK. My question is how can I find the properties that I can use for any given Mojo object?
...
I am wondering how would one get the status of a build (ERROR/SUCCESS) from a maven plugin ?
...
Before:
<input type='checkbox' name='killerFeature' id='killerFeature'
<%= param('killerFeature') ? ' checked' : ''%>
/>
Now:
<select name="killerFeature" id="killerFeature" class="select">
<option value="1">Enable</option>
<option value="0">Disable</option>
</select>
How do I insert the same checked (should be 'selec...