You could run it via the maven-exec-plugin, which allows you to pass down the
classpath.
On 11 Oct 2013, at 3:52, Andrew Pennebaker wrote:
> Yes. I'm looking for a task like `mvn jdb:debug ` that starts a jdb
> session on .main().
>
> I can run jdb on individual Java code outside of a Maven stru
Hi Andrew,
> Could you elaborate on the exact ... snippet I would
> need to drop into my pom.xml in order to achieve this?
org.codehaus.mojo
exec-maven-plugin
1.2.1
jdb
-classpath
${jdb.mainClass}
exec
> If I co
Thank you, Curtis, that looks like an excellent suggestion!
Could you elaborate on the exact ... snippet I would need
to drop into my pom.xml in order to achieve this?
If I could just `mvn exec:exec `, starting a jdb session on
.main(), that would be *perfect*.
On Fri, Oct 11, 2013 at 1:20 PM,
Example using sed:
sed
's//\r\n\r\n\r\norg.ghost4j<\/groupId>\r\nghost4j<\/artifactId>\r\n0.5.0<\/version>\r\n<\/dependency>\r\n/g'
pom.xml > pom2.xml
Replaces the dependencies tag with the dependencies tag followed by the new
dependency (inserts the new dependency first in the list.
Creates a n
Here is another use case. Suppose I programmatically want to make sure that
my database is backwards compatible with all versions of my application. I
may have a test suite that compiles the project using different jars, which
represent different versions of the persistence module.
I can verify
Hi Nambi,
> Debugging is one of the important features that is easy to do in IDE,
> but hard to do in CLI using jdb. If there is a way (plugin) that can
> enable this for emacs or vim, would be a great.
For Eclipse (my preferred tool): http://eclim.org/
I know people who use it to good effect, b
Hi all,
Rather than getting into an eclipse vs. vim vs. emacs flamewar, I'd rather
just ask: Andrew, did you try attaching your jdb to a running java instance
launched via exec-maven-plugin as I suggested yet?
You can configure exec-maven-plugin in your pom so that launching the
compatible java p
This is useful for many reasons. The less steps required to use external
dependencies the better. If someone must add and configure xml to add a
dependency, it leads to human in the loop, which leads to errors.
I am all about how quick, I can get installed.
For instance, maybe I am writing an o
A lot of developers are asking for simplicity of java development.
Especially folks who code in other languages such as python, view java as heavy
weight because of IDEs.
It takes a while to master IDEs, without IDEs java is not a productive
environment.
I used to do Java development using CLI,
Why would you want to walk from New York to San Francisco when you can fly?
Some people are gluttons for punishment, some people like text-mode (works
better over plain ssh without resorting to eg X11 forwarding)
Finally debugging when the debugger and debugged process are on the same
machine rat
I'm sorry; I don't understand. Why would you want to use a text editor, rather
than an IDE, to debug a java program?
On Oct 11, 2013, at 11:52 AM, Andrew Pennebaker wrote:
> Why would anyone want to do this? So we don't have to debug Maven projects
> with Eclipse/IntelliJ, but the text editor
Why would anyone want to do this? So we don't have to debug Maven projects
with Eclipse/IntelliJ, but the text editor of our choice. This is best
accomplished by Maven tasks which interact with the command line jdb tool.
On Thu, Oct 10, 2013 at 5:27 PM, Russell Gold wrote:
> Why do you want to
On 11 October 2013 20:58, Russell Gold wrote:
> Yes, very interesting - but where is the Maven source found? The site is a
> bit confusing on that score, and it is rather difficult to construct a patch
> when you cannot see the CM system.
Which bit are you interested in?
If its a plugin on http
Yes, very interesting - but where is the Maven source found? The site is a bit
confusing on that score, and it is rather difficult to construct a patch when
you cannot see the CM system.
On Oct 11, 2013, at 2:42 AM, Barrie Treloar wrote:
> We still want more people to get up and join the commi
14 matches
Mail list logo