Wendy Smoak wrote:
See if 'maven dist' in BSF does what you want now. It depends on the
Ant target 'example' placing the .war file in 'dist'. It's not exactly
efficient since both Maven and Ant will download the dependencies, but
it was the quickest way to get the .war file into Maven's binar
From: "Don Brown" <[EMAIL PROTECTED]>
I was thinking about using Ant to build the example application, but still
use Maven for the dist target and all it does there. Would that work?
As James mentioned, you can get Maven to call your Ant tasks:
http://maven.apache.org/using/migrating.html
Sure, just add a goal in maven.xml and either a) put your ant stuff
in there (literally cut/paste from build.xml) or b) do a simple ant
call to the build.xml (from your maven.xml goal).
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech,
I was thinking about using Ant to build the example application, but still use
Maven for the dist target and all it does there. Would that work?
Don
Wendy Smoak wrote:
From: "Don Brown" <[EMAIL PROTECTED]>
As for a Maven build, I'm not against using it, I just don't know how to
convert the
From: "Don Brown" <[EMAIL PROTECTED]>
As for a Maven build, I'm not against using it, I just don't know how to
convert the tasks to Maven, particularly building the examples. I also
have this problem with BSF, code I want to start a release on,
but am hung up on whether (or more accurately, how)
From: "James Mitchell" <[EMAIL PROTECTED]>
I just fixed a bug in my nightly script and re-ran it manually...
Attempting to download struts-core-1.2.7.jar.
WARNING: Failed to download struts-core-1.2.7.jar.
It's just a typo in project.xml -- the artifactId should be 'struts' for
1.2.7.
With
Yep, "struts-1.2.7.jar" vs "struts-core-1.2.7.jar".
^
http://www.ibiblio.org/maven/struts/jars/
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:
Then it must be a naming thing..checking
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM: jmitchtx
Yahoo: jmitchtx
MSN: [EMAIL PROTECTED]
Skype: callto://jmitchtx
On O
Ideally, sub projects are ones that are independent from the core in
that they have to deal with older version of Struts. Previously, Struts
Flow was set to depend on Struts 1.1 and apparently things were working
fine. Some of the changes Joe made in 1.2 I want to use, so I switched
it to 1.2
I just fixed a bug in my nightly script and re-ran it manually...
struts:~/svn/struts/flow jmitchell$ svn up
Fetching external item into 'build'
External at revision 320772.
At revision 320772.
struts:~/svn/struts/flow jmitchell$ maven dist
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_)
Decoupling the build is probably a good idea. Struts Flow shouldn't depend
on the trunk version of core since it is targetted to existing Struts
applications.
As for a Maven build, I'm not against using it, I just don't know how to
convert the tasks to Maven, particularly building the examples. I
From: "Don Brown" <[EMAIL PROTECTED]>
Thanks, I'll look at it tonite.
I just looked at it and I think this is another case where we need to
decouple a sub-project from the common build. You're picking up a couple of
dependencies that you don't need (antlr and fileupload) and I'm having
troubl
Thanks, I'll look at it tonite.
Don
Wendy Smoak wrote:
The Maven build for Struts Flow isn't working after r307274 on 10/8.
In project.xml, the artifactId for the Struts 1.2.7 dependency should be
'struts' instead of 'struts-core'. Then,
$ maven site
...
test:test:
[junit] Running org.
The Maven build for Struts Flow isn't working after r307274 on 10/8.
In project.xml, the artifactId for the Struts 1.2.7 dependency should be
'struts' instead of 'struts-core'. Then,
$ maven site
...
test:test:
[junit] Running org.apache.struts.flow.ibatis.TestSqlMap
[junit] Tests run:
14 matches
Mail list logo