jbpm2

2004-12-20 Thread thorsten maus
hi there .. 

i posted this questions once before .. and simply hope
that some people simply overread it .. 

i would like to use jbpm2 in maven ... 
but it rather looks like there has not yet been
written any plugin for maven yet .. 

has anyone some experiences using it with maven ??



__ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



jbpm2

2004-12-16 Thread thorsten maus
hi there .. 

is anyone working on a plugin for jbpm version 2 ?

i have not found any information on google on that
topic concerning maven .. 

thanks .. 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: aspectj weaving the files

2004-09-16 Thread thorsten maus
hi carlos .. 

ok ... 
now i see the problem ... 
but ... 
does it make sense to simply weave them and store them
in the classes directory of the subproject calling the
aspect ?? 

this means that i have to rebuild the components ( ejb
and common classes prepared for aop ) based on the
weaved classes in the target/classes directory of my
ear directory ... 

if i exclude them from the ear.bundle ... they will
not be included into the ear and are therfore without
use for me ... 

i cannot deploy them manually as they are not stored
in their right subproject ... 

wouldnt it be better to have the opportunity to weave
files in each subproject ?
i mean that for example the project.xml in my foo-ejb
subproject contains the aspectj tag as well as the
aspectjSourceDirectory tag ... 
having those two tags maven  creates a weaved jar
foo-ejb.jar automatically

? 

greetings from berlin 





--- Carlos Sanchez [EMAIL PROTECTED] wrote:

 Hi Thorsten,
 
 When weaving into a jar the results are put in
 target/classes dir
 uncompressed, no jar is created.
 I suppose you include the jars with something like
 ear.bundletrue/ear.bundle. You can't do this as
 it means including the
 non weaved jars.
 
 Regards
 
 Carlos Sanchez
 A Coruña, Spain
 http://www.jroller.com/page/carlossg/Weblog
 
 Oness Project
 http://oness.sourceforge.net
 
 
  -Original Message-
  From: thorsten maus [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, September 15, 2004 4:53 PM
  To: [EMAIL PROTECTED]
  Subject: aspectj weaving the files 
  
  hi there .. had problems with aspectj before ... 
  and still have them .. 
  
  although maven is telling me that aspectj is
 weaving files .. 
  it does not do so .. 
  
  this is my output:
  
  
  Starting the reactor...
  Our processing order:
  the barmagnat-ear file
  +
  | Building the barmagnat-ear file
  | Memory: 2M/3M
  +
  Weaving with: common-jar
  Weaving into: bd-ejb
  Weaving into: game-ejb
  Weaving into: controller-jar
  warning couldn't find aspectjrt.jar on classpath,
  checked: 
  
  build:start:
  
  all:
  build:start:
  
  ear:init:
  
  ear:ear:
  aspectj:init:
  
  aspectj:compile:
  
  aspectj:test-compile:
  
  aspectj:
  
  ear:generate-ear-descriptor:
  [echo] Generating appxml
 

file:/usr/local/share/projects/bm-002/barmagnat-ear/src/appli
 cation/META-INF/application.xml
  version 1.3
  
  [echo] Building EAR barmagnat-ear-0.1 with
 appxml 
 

/usr/local/share/projects/bm-002/barmagnat-ear/src/applicatio
 n/META-INF/application.xml
  [echo] Bundling: sar - barmagnat:jmx-sar
  [echo] Bundling: ejb - barmagnat:bd-ejb
  [echo] Bundling: ejb - barmagnat:game-ejb
  [echo] Bundling: war - barmagnat:web-war
  [ear] Building ear:
 

/usr/local/share/projects/bm-002/barmagnat-ear/target/barmagna
 t-ear-0.1.ear
  Copying: from
 

'/usr/local/share/projects/bm-002/barmagnat-ear/target/barmagn
 at-ear-0.1.ear'
  to:
 

'/home/maus/.maven/repository/barmagnat/ears/barmagnat-ear-0.1.ear'
  Copying: from
 

'/usr/local/share/projects/bm-002/barmagnat-ear/project.xml'
  to:
 

'/home/maus/.maven/repository/barmagnat/poms/barmagnat-ear-0.1.pom'
  BUILD SUCCESSFUL
  Total time: 6 seconds
  Finished at: Wed Sep 15 16:50:29 CEST 2004
  
  so actually he is doing the weaving before he
 builds the files ... 
  
  but where does he weave the jars together and
 where does he 
  store the resulting jars ??
  
  he is taking the jar files from their specific
 repositories 
  without touching them ... 
  
  thanks
  
  
  
  
  
  ___
  Do you Yahoo!?
  Declare Yourself - Register online to vote today!
  http://vote.yahoo.com
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: aspectj weaving the files

2004-09-16 Thread thorsten maus

hi carlos .. 

ok ... 
now i see the problem ... 
but ... 
does it make sense to simply weave them and store them
in the classes directory of the subproject calling the
aspect ?? 

this means that i have to rebuild the components ( ejb
and common classes prepared for aop ) based on the
weaved classes in the target/classes directory of my
ear directory ... 

if i exclude them from the ear.bundle ... they will
not be included into the ear and are therfore without
use for me ... 

i cannot deploy them manually as they are not stored
in their right subproject ... 

wouldnt it be better to have the opportunity to weave
files in each subproject ?
i mean that for example the project.xml in my foo-ejb
subproject contains the aspectj tag as well as the
aspectjSourceDirectory tag ... 
having those two tags maven  creates a weaved jar
foo-ejb.jar automatically

? 

greetings from berlin 

--- Carlos Sanchez [EMAIL PROTECTED] wrote:

 Hi Thorsten,
 
 When weaving into a jar the results are put in
 target/classes dir
 uncompressed, no jar is created.
 I suppose you include the jars with something like
 ear.bundletrue/ear.bundle. You can't do this as
 it means including the
 non weaved jars.
 
 Regards
 
 Carlos Sanchez
 A Coruña, Spain
 http://www.jroller.com/page/carlossg/Weblog
 
 Oness Project
 http://oness.sourceforge.net
 
 
  -Original Message-
  From: thorsten maus [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, September 15, 2004 4:53 PM
  To: [EMAIL PROTECTED]
  Subject: aspectj weaving the files 
  
  hi there .. had problems with aspectj before ... 
  and still have them .. 
  
  although maven is telling me that aspectj is
 weaving files .. 
  it does not do so .. 
  
  this is my output:
  
  
  Starting the reactor...
  Our processing order:
  the barmagnat-ear file
  +
  | Building the barmagnat-ear file
  | Memory: 2M/3M
  +
  Weaving with: common-jar
  Weaving into: bd-ejb
  Weaving into: game-ejb
  Weaving into: controller-jar
  warning couldn't find aspectjrt.jar on classpath,
  checked: 
  
  build:start:
  
  all:
  build:start:
  
  ear:init:
  
  ear:ear:
  aspectj:init:
  
  aspectj:compile:
  
  aspectj:test-compile:
  
  aspectj:
  
  ear:generate-ear-descriptor:
  [echo] Generating appxml
 

file:/usr/local/share/projects/bm-002/barmagnat-ear/src/appli
 cation/META-INF/application.xml
  version 1.3
  
  [echo] Building EAR barmagnat-ear-0.1 with
 appxml 
 

/usr/local/share/projects/bm-002/barmagnat-ear/src/applicatio
 n/META-INF/application.xml
  [echo] Bundling: sar - barmagnat:jmx-sar
  [echo] Bundling: ejb - barmagnat:bd-ejb
  [echo] Bundling: ejb - barmagnat:game-ejb
  [echo] Bundling: war - barmagnat:web-war
  [ear] Building ear:
 

/usr/local/share/projects/bm-002/barmagnat-ear/target/barmagna
 t-ear-0.1.ear
  Copying: from
 

'/usr/local/share/projects/bm-002/barmagnat-ear/target/barmagn
 at-ear-0.1.ear'
  to:
 

'/home/maus/.maven/repository/barmagnat/ears/barmagnat-ear-0.1.ear'
  Copying: from
 

'/usr/local/share/projects/bm-002/barmagnat-ear/project.xml'
  to:
 

'/home/maus/.maven/repository/barmagnat/poms/barmagnat-ear-0.1.pom'
  BUILD SUCCESSFUL
  Total time: 6 seconds
  Finished at: Wed Sep 15 16:50:29 CEST 2004
  
  so actually he is doing the weaving before he
 builds the files ... 
  
  but where does he weave the jars together and
 where does he 
  store the resulting jars ??
  
  he is taking the jar files from their specific
 repositories 
  without touching them ... 
  
  thanks
  
  
  
  
  
  ___
  Do you Yahoo!?
  Declare Yourself - Register online to vote today!
  http://vote.yahoo.com
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



aspectj weaving the files

2004-09-15 Thread thorsten maus
hi there .. had problems with aspectj before ... 
and still have them .. 

although maven is telling me that aspectj is weaving
files .. it does not do so .. 

this is my output:


Starting the reactor...
Our processing order:
the barmagnat-ear file
+
| Building the barmagnat-ear file
| Memory: 2M/3M
+
Weaving with: common-jar
Weaving into: bd-ejb
Weaving into: game-ejb
Weaving into: controller-jar
warning couldn't find aspectjrt.jar on classpath,
checked: 

build:start:

all:
build:start:

ear:init:

ear:ear:
aspectj:init:

aspectj:compile:

aspectj:test-compile:

aspectj:

ear:generate-ear-descriptor:
[echo] Generating appxml
file:/usr/local/share/projects/bm-002/barmagnat-ear/src/application/META-INF/application.xml
version 1.3

[echo] Building EAR barmagnat-ear-0.1 with appxml
/usr/local/share/projects/bm-002/barmagnat-ear/src/application/META-INF/application.xml
[echo] Bundling: sar - barmagnat:jmx-sar
[echo] Bundling: ejb - barmagnat:bd-ejb
[echo] Bundling: ejb - barmagnat:game-ejb
[echo] Bundling: war - barmagnat:web-war
[ear] Building ear:
/usr/local/share/projects/bm-002/barmagnat-ear/target/barmagnat-ear-0.1.ear
Copying: from
'/usr/local/share/projects/bm-002/barmagnat-ear/target/barmagnat-ear-0.1.ear'
to:
'/home/maus/.maven/repository/barmagnat/ears/barmagnat-ear-0.1.ear'
Copying: from
'/usr/local/share/projects/bm-002/barmagnat-ear/project.xml'
to:
'/home/maus/.maven/repository/barmagnat/poms/barmagnat-ear-0.1.pom'
BUILD SUCCESSFUL
Total time: 6 seconds
Finished at: Wed Sep 15 16:50:29 CEST 2004

so actually he is doing the weaving before he builds
the files ... 

but where does he weave the jars together and where
does he store the resulting jars ??

he is taking the jar files from their specific
repositories without touching them ... 

thanks





___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SAR plugin

2004-09-13 Thread thorsten maus
hi there .. 

im coming around a small problem and hope you can help
me .. 

im creating an additional directory inside a
multiproject .. handling a sar jar for my jboss
appserver.. 

inside the directory i have the descriptors 
in src/sar/META-INF
and additional java sources in 
src/java

when calling maven sar:sar maven is properly creating
the jmx.sar compiling the java files .. storing them
in target/classes  but does not add the class files to
the sar archive ..  

any idea ??

im working with the maven-sar-plugin version 1.0 ... 

thanks  

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SAR plugin fixed

2004-09-13 Thread thorsten maus

for those of you running into the same problems... 
touch the maven.xml and add additional goals

goal name=all
m:reactor basedir=${basedir}
   includes=project.xml
  
goals=java:compile,jar:jar,sar:sar
   banner=Building
   ignoreFailures=false/
/goal

--- thorsten maus [EMAIL PROTECTED] wrote:

 hi there .. 
 
 im coming around a small problem and hope you can
 help
 me .. 
 
 im creating an additional directory inside a
 multiproject .. handling a sar jar for my jboss
 appserver.. 
 
 inside the directory i have the descriptors 
 in src/sar/META-INF
 and additional java sources in 
 src/java
 
 when calling maven sar:sar maven is properly
 creating
 the jmx.sar compiling the java files .. storing them
 in target/classes  but does not add the class files
 to
 the sar archive ..  
 
 any idea ??
 
 im working with the maven-sar-plugin version 1.0 ...
 
 
 thanks  
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



aspectj multiproject

2004-08-27 Thread thorsten maus
hi there .. 
running into a problem i cannot see any way out .. 

short description:

setup a multiproject with the following directories

common-jar
sample-ejb
foo-ear

the common-jar contains the aspectj (.aj) files in a
separated directory as well

the foo-ear has dependencies to common-jar and
sample-ejb. the common-jar dependency contains
weaveWith whereas the sample-ejb contains
weaveInto.


the building process looks quite ok .. but i cannot
see any sign that aspectj is weaving files ... 

the following snipplet reveals, that aspectj is
properly working:

warning couldn't find aspectjrt.jar on classpath,
checked: 
java:prepare-filesystem:
java:compile:
aspectj:init:
aspectj:compile:
[echo] Compiling to
_path_to_project/common-jar/target/classes


any help would be appreciated




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: aspectj multiproject

2004-08-27 Thread thorsten maus
sorry .. 
i forgot to add the aspect source .. 

public aspect LoggerAspect {


pointcut traceMethods() : execution(* *.*(..));


before() : traceMethods() {

Signature sig =
thisJoinPointStaticPart.getSignature();

System.out.println(sig.getName()+ reached);
  }

this aspect should touch any possible method during
the compilation process


--- thorsten maus [EMAIL PROTECTED] wrote:

 hi there .. 
 running into a problem i cannot see any way out .. 
 
 short description:
 
 setup a multiproject with the following directories
 
 common-jar
 sample-ejb
 foo-ear
 
 the common-jar contains the aspectj (.aj) files in a
 separated directory as well
 
 the foo-ear has dependencies to common-jar and
 sample-ejb. the common-jar dependency contains
 weaveWith whereas the sample-ejb contains
 weaveInto.
 
 
 the building process looks quite ok .. but i cannot
 see any sign that aspectj is weaving files ... 
 
 the following snipplet reveals, that aspectj is
 properly working:
 
 warning couldn't find aspectjrt.jar on classpath,
 checked: 
 java:prepare-filesystem:
 java:compile:
 aspectj:init:
 aspectj:compile:
 [echo] Compiling to
 _path_to_project/common-jar/target/classes
 
 
 any help would be appreciated
 
 
   
   
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - 100MB free storage!
 http://promotions.yahoo.com/new_mail 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: aspectj multiproject

2004-08-27 Thread thorsten maus
hi carlos .. nice to hear from you again .. 



--- Carlos Sanchez [EMAIL PROTECTED] wrote:

 Hi,
 
 Have you checked
 http://maven.apache.org/reference/plugins/aspectj/ ?
yes .. i did so ... for now over three days .. 


 If so, I need some debug info:
the debug flag for aspectj is not working for me ... 
the verbose flag is working .. 

 
 Does it work when not in multiproject?
dont know ... have to try it ... 
will try this at once .. 


 
 What goal are you calling?
the main ( root directory ) maven.xml contains
preGoal name=java:compile
attainGoal name=aspectj:compile/
/preGoal

 
 Have you added this to foo-ear?
   dependency
 groupIdgroupid/groupId
 artifactIdcommon-jar/artifactId
 versionjarversion/version
 properties
  
 aspectj.weaveWithtrue/aspectj.weaveWith
 /properties
   /dependency
   dependency
 groupIdgroupid/groupId
 artifactIdsample-ejb/artifactId
 versionjarversion/version
 properties
  
 aspectj.weaveIntotrue/aspectj.weaveInto
 /properties
   /dependency

yep .. that is exactly what i did ... 

 
 Have you added something like this to maven.xml?
preGoal name=java:compile
  attainGoal name=aspectj/
/preGoal

yep .. the first ten tries i simply took aspectj ..
later on aspectj:compile

would it help you to look through the project / maven
/ property files ???



 
 Regards
 
 Carlos Sanchez
 A Coruña, Spain
 
 Oness Project
 http://oness.sourceforge.net
 
 
  -Original Message-
  From: thorsten maus [mailto:[EMAIL PROTECTED] 
  Sent: Friday, August 27, 2004 12:50 PM
  To: Maven Users List
  Subject: Re: aspectj multiproject
  
  sorry .. 
  i forgot to add the aspect source .. 
  
  public aspect LoggerAspect {
  
  
  pointcut traceMethods() : execution(* *.*(..));
  
  
  before() : traceMethods() {
  
  Signature sig =
  thisJoinPointStaticPart.getSignature();
  
  System.out.println(sig.getName()+ reached);
}
  
  this aspect should touch any possible method
 during the 
  compilation process
  
  
  --- thorsten maus [EMAIL PROTECTED] wrote:
  
   hi there .. 
   running into a problem i cannot see any way out
 .. 
   
   short description:
   
   setup a multiproject with the following
 directories
   
   common-jar
   sample-ejb
   foo-ear
   
   the common-jar contains the aspectj (.aj) files
 in a separated 
   directory as well
   
   the foo-ear has dependencies to common-jar and
 sample-ejb. the 
   common-jar dependency contains weaveWith
 whereas the sample-ejb 
   contains weaveInto.
   
   
   the building process looks quite ok .. but i
 cannot see any 
  sign that 
   aspectj is weaving files ...
   
   the following snipplet reveals, that aspectj is
 properly working:
   
   warning couldn't find aspectjrt.jar on
 classpath,
   checked: 
   java:prepare-filesystem:
   java:compile:
   aspectj:init:
   aspectj:compile:
   [echo] Compiling to
   _path_to_project/common-jar/target/classes
   
   
   any help would be appreciated
   
   
 
 
   __
   Do you Yahoo!?
   New and Improved Yahoo! Mail - 100MB free
 storage!
   http://promotions.yahoo.com/new_mail
   
  
 

-
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
   
   
  
  
  
  
  ___
  Do you Yahoo!?
  Win 1 of 4,000 free domain names from Yahoo! Enter
 now.
  http://promotions.yahoo.com/goldrush
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: aspectj multiproject

2004-08-27 Thread thorsten maus
well .. 

i created a new project ... no multiproject .. 
added dependencies to 


--- thorsten maus [EMAIL PROTECTED] wrote:

 hi carlos .. nice to hear from you again .. 
 
 
 
 --- Carlos Sanchez [EMAIL PROTECTED] wrote:
 
  Hi,
  
  Have you checked
  http://maven.apache.org/reference/plugins/aspectj/
 ?
 yes .. i did so ... for now over three days .. 
 
 
  If so, I need some debug info:
 the debug flag for aspectj is not working for me ...
 
 the verbose flag is working .. 
 
  
  Does it work when not in multiproject?
 dont know ... have to try it ... 
 will try this at once .. 
 
 
  
  What goal are you calling?
 the main ( root directory ) maven.xml contains
 preGoal name=java:compile
 attainGoal name=aspectj:compile/
 /preGoal
 
  
  Have you added this to foo-ear?
dependency
  groupIdgroupid/groupId
  artifactIdcommon-jar/artifactId
  versionjarversion/version
  properties
   
  aspectj.weaveWithtrue/aspectj.weaveWith
  /properties
/dependency
dependency
  groupIdgroupid/groupId
  artifactIdsample-ejb/artifactId
  versionjarversion/version
  properties
   
  aspectj.weaveIntotrue/aspectj.weaveInto
  /properties
/dependency
 
 yep .. that is exactly what i did ... 
 
  
  Have you added something like this to maven.xml?
 preGoal name=java:compile
   attainGoal name=aspectj/
 /preGoal
 
 yep .. the first ten tries i simply took aspectj
 ..
 later on aspectj:compile
 
 would it help you to look through the project /
 maven
 / property files ???
 
 
 
  
  Regards
  
  Carlos Sanchez
  A Coruña, Spain
  
  Oness Project
  http://oness.sourceforge.net
  
  
   -Original Message-
   From: thorsten maus [mailto:[EMAIL PROTECTED] 
   Sent: Friday, August 27, 2004 12:50 PM
   To: Maven Users List
   Subject: Re: aspectj multiproject
   
   sorry .. 
   i forgot to add the aspect source .. 
   
   public aspect LoggerAspect {
   
   
 pointcut traceMethods() : execution(* *.*(..));
   
   
 before() : traceMethods() {
   
   Signature sig =
   thisJoinPointStaticPart.getSignature();
   
   System.out.println(sig.getName()+
 reached);
 }
   
   this aspect should touch any possible method
  during the 
   compilation process
   
   
   --- thorsten maus [EMAIL PROTECTED] wrote:
   
hi there .. 
running into a problem i cannot see any way
 out
  .. 

short description:

setup a multiproject with the following
  directories

common-jar
sample-ejb
foo-ear

the common-jar contains the aspectj (.aj)
 files
  in a separated 
directory as well

the foo-ear has dependencies to common-jar and
  sample-ejb. the 
common-jar dependency contains weaveWith
  whereas the sample-ejb 
contains weaveInto.


the building process looks quite ok .. but i
  cannot see any 
   sign that 
aspectj is weaving files ...

the following snipplet reveals, that aspectj
 is
  properly working:

warning couldn't find aspectjrt.jar on
  classpath,
checked: 
java:prepare-filesystem:
java:compile:
aspectj:init:
aspectj:compile:
[echo] Compiling to
_path_to_project/common-jar/target/classes


any help would be appreciated




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free
  storage!
http://promotions.yahoo.com/new_mail

   
  
 

-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


   
   
   
 
   ___
   Do you Yahoo!?
   Win 1 of 4,000 free domain names from Yahoo!
 Enter
  now.
   http://promotions.yahoo.com/goldrush
   
  
 

-
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
   
   
   
  
 
=== message truncated ===




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: aspectj multiproject

2004-08-27 Thread thorsten maus
the main problem is that i have to put the activeJ
tags inside my foo-ear project.xml file. 
it looks like the plugin does not validate them other
than in the main project file. 

i created a new project without the multiproject
settings .. and dropped a dependency to my former
common-jar with the aspectj tag .. 

the compiler echoed:
Weaving with: common-jar
Weaving into: game-ejb

(these messages never appeared when putting the
aspectj lines into the ear-project.xml file )

on the other hand .. i cannot drop the dependencies
into the main project file because they belong into
the ear directory and maven discovers a cycle once i
drop them into the main project.xml file .. 

any ideas ???


--- thorsten maus [EMAIL PROTECTED] wrote:

 hi carlos .. nice to hear from you again .. 
 
 
 
 --- Carlos Sanchez [EMAIL PROTECTED] wrote:
 
  Hi,
  
  Have you checked
  http://maven.apache.org/reference/plugins/aspectj/
 ?
 yes .. i did so ... for now over three days .. 
 
 
  If so, I need some debug info:
 the debug flag for aspectj is not working for me ...
 
 the verbose flag is working .. 
 
  
  Does it work when not in multiproject?
 dont know ... have to try it ... 
 will try this at once .. 
 
 
  
  What goal are you calling?
 the main ( root directory ) maven.xml contains
 preGoal name=java:compile
 attainGoal name=aspectj:compile/
 /preGoal
 
  
  Have you added this to foo-ear?
dependency
  groupIdgroupid/groupId
  artifactIdcommon-jar/artifactId
  versionjarversion/version
  properties
   
  aspectj.weaveWithtrue/aspectj.weaveWith
  /properties
/dependency
dependency
  groupIdgroupid/groupId
  artifactIdsample-ejb/artifactId
  versionjarversion/version
  properties
   
  aspectj.weaveIntotrue/aspectj.weaveInto
  /properties
/dependency
 
 yep .. that is exactly what i did ... 
 
  
  Have you added something like this to maven.xml?
 preGoal name=java:compile
   attainGoal name=aspectj/
 /preGoal
 
 yep .. the first ten tries i simply took aspectj
 ..
 later on aspectj:compile
 
 would it help you to look through the project /
 maven
 / property files ???
 
 
 
  
  Regards
  
  Carlos Sanchez
  A Coruña, Spain
  
  Oness Project
  http://oness.sourceforge.net
  
  
   -Original Message-
   From: thorsten maus [mailto:[EMAIL PROTECTED] 
   Sent: Friday, August 27, 2004 12:50 PM
   To: Maven Users List
   Subject: Re: aspectj multiproject
   
   sorry .. 
   i forgot to add the aspect source .. 
   
   public aspect LoggerAspect {
   
   
 pointcut traceMethods() : execution(* *.*(..));
   
   
 before() : traceMethods() {
   
   Signature sig =
   thisJoinPointStaticPart.getSignature();
   
   System.out.println(sig.getName()+
 reached);
 }
   
   this aspect should touch any possible method
  during the 
   compilation process
   
   
   --- thorsten maus [EMAIL PROTECTED] wrote:
   
hi there .. 
running into a problem i cannot see any way
 out
  .. 

short description:

setup a multiproject with the following
  directories

common-jar
sample-ejb
foo-ear

the common-jar contains the aspectj (.aj)
 files
  in a separated 
directory as well

the foo-ear has dependencies to common-jar and
  sample-ejb. the 
common-jar dependency contains weaveWith
  whereas the sample-ejb 
contains weaveInto.


the building process looks quite ok .. but i
  cannot see any 
   sign that 
aspectj is weaving files ...

the following snipplet reveals, that aspectj
 is
  properly working:

warning couldn't find aspectjrt.jar on
  classpath,
checked: 
java:prepare-filesystem:
java:compile:
aspectj:init:
aspectj:compile:
[echo] Compiling to
_path_to_project/common-jar/target/classes


any help would be appreciated




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free
  storage!
http://promotions.yahoo.com/new_mail

   
  
 

-
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


   
   
   
 
   ___
   Do you Yahoo!?
   Win 1 of 4,000 free domain names from Yahoo!
 Enter
  now.
   http://promotions.yahoo.com/goldrush
   
  
 

-
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
   
   
   
  
 
=== message truncated ===




__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do

RE: aspectj multiproject

2004-08-27 Thread thorsten maus
thanks carlos .. you were right ..
it was more a problem of understanding the
multiproject approach .. 

the execution of the maven goal reveals the following
information:

+
| Building the foo-ear file
| Memory: 2M/3M
+
Weaving with: common-jar
Weaving into: bd-ejb
Weaving into: game-ejb
Weaving into: web-war
error build config error: bad inpath component:
_home_path/.maven/repository/barmagnat/wars/web-war-0.1.war

AspectJ Compiler

Usage: options source file | @argfile..

have you seen such error before ??




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



aspectj classpath

2004-08-25 Thread thorsten maus
hi there .. 

im running constantly into the following error while
trying to run maven with aspectj 

warning couldn't find aspectjrt.jar on classpath,
checked:

im not quite shure if this is crucial ... but my
aspects do not get bound to my classes .. 

anyone had these problems before ???

by the way ... 
aspectj looks as it is properly working .. 
it scans all sources ... 
but simply does not bind classes and aspects together


im using a sample aspectj example for integrating
logging into my classes
(http://www.developer.com/java/other/article.php/10936_3109831_3)

thanks for your help




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: aspectj classpath

2004-08-25 Thread thorsten maus
thanks carlos .. 

usually .. the message output from maven tells you how
many files aspectj  touched .. 
i have seen it yesterday once ... 
but not in a multiproject environment ... 
but the environment looks ok .. as the plugin
recognizes the correct source directories  

but this time .. aspectj does not merge any file
together ... and that looks abit strange to me ... 




--- Carlos Sanchez [EMAIL PROTECTED] wrote:

 Hi,
 
 You can ignore the warning, it's a bug with the
 aspectj compiler, the
 AspectJ guys are aware.
 
 Why do you know that they are not bound? Maybe you
 don't have your logging
 framework configured properly, try with some
 system.out.print in the aspect
 to see if it's bound.
 
 Regards
 
 Carlos Sanchez
 A Coruña, Spain
 
 Oness Project
 http://oness.sourceforge.net
 
 
  -Original Message-
  From: thorsten maus [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, August 25, 2004 10:21 AM
  To: Maven Users List
  Subject: aspectj classpath
  
  hi there .. 
  
  im running constantly into the following error
 while trying 
  to run maven with aspectj 
  
  warning couldn't find aspectjrt.jar on classpath,
  checked:
  
  im not quite shure if this is crucial ... but my
 aspects do 
  not get bound to my classes .. 
  
  anyone had these problems before ???
  
  by the way ... 
  aspectj looks as it is properly working .. 
  it scans all sources ... 
  but simply does not bind classes and aspects
 together
  
  
  im using a sample aspectj example for integrating
 logging 
  into my classes
 

(http://www.developer.com/java/other/article.php/10936_3109831_3)
  
  thanks for your help
  
  
  
  
  __
  Do you Yahoo!?
  New and Improved Yahoo! Mail - 100MB free storage!
  http://promotions.yahoo.com/new_mail 
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: aspectj in multiproject

2004-08-24 Thread thorsten maus
hehe .. 

thanks ... 
makes things easier .. and i do not get nasty
classpath errors .. 

greetings from berlin 

;o)




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



speed up build time

2004-03-15 Thread thorsten maus
hi there ..

we are developing an application using the multiproject plugin ...

i would be interested in your ways to speed up the build process ...

1. is it possible to execute only parts of a multiproject
2. how do i tell maven not to compile all sources over and over again ???
--
Thorsten Maus ( IT Architect )
[EMAIL PROTECTED]
mobile: +49-173-644-1988
www.pirack.com
it's teamwork
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


build time

2004-02-24 Thread thorsten maus
hi guys ..

im actually having a multiproject with 4 subproject ...

for each subproject the ejbdoclet as well as the hibernatedoclet ist 
working .. although not needed for each ...

the altogether build time is about 4-5 minutes 

is there any way to speed the build process up ???



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


jar jboss-service.xml

2004-02-24 Thread thorsten maus
hi there ..

im working using the multiproject approach ..

my hibernate-jar subrproject creates a jar file containing the hibernate 
classes as well as the
mapping files ..

i also added the properties for xdoclet to create the hibernate 
jboss-service.xml file ...

BUT ..

how do i get this file inside my  hibernate.jar /META-INF file 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Hibernate -- Best approach

2004-02-23 Thread thorsten maus
Is there any usecase of how to implement hibernate best in a 
multiproject for an application server ( using jboss )

the document : http://hibernate.bluemars.net/66.html

provides a way to implement it ...

the approach does not look so easy to implement for me using maven ..

taking this approach i would

have to create a sar subproject
where simply all descriptor files will be stored
create a hibernate classes jar .. where the corresponding classes are 
stored

the sar file cannot keep the classes as the other packages like the war 
package is not able to use
classes from the sar ..

well ...

did anyone of you thought about this to the end and has it properly 
running 

help would be really appreciated ..

greetings



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


implementing hibernate properly

2004-02-19 Thread thorsten maus
my multiproject is capable of creating
jboss-related settings
wars
ejb-jars
common-jar
i would now integrate hibernate properly .. and im not quite shure how 
to do this the easyest way ..

by now .. i have my hibernate source in the common package, as the bean 
classes need to be used throughout the application
the xdoclet:hibernatedoclet properly creates my jboss-service.xml files 
and stores it in target/ejbdoclet/hibernatedoclet ...

well .. so far so good ..

looks like all i need todo is to drop the jboss-service.xml into the to 
be create jar-archive in META-INF ..

is this all ???

anyone a sample for this ??

thanks



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


add generated java files to repository

2004-02-19 Thread thorsten maus
hi

have the following project-structure

root
|
| -- sample-ejb
|  | - target
|  | - xdoclet
|  |  ejbdoclet


| -- common-jar

the sample-ejb refers to the common-jar ..
the common-jar itself needs the generated interfaces of the sample-ejb ..
how do i tell the common-jar create the sample-ejb ejbdoclet things 
first but only them .. because without the common-jar the compilation 
would not work ..



any idea ???

thanks in advance

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


maven jboss hibernate

2004-02-15 Thread thorsten maus
was anybody able to get this combination running ??

-- creating *.hbm.xml files based on source files
-- creating the jboss-service.xml file accondingly to the created 
*.hbm.xml files
-- packing the *.hbm.xml files into a jar

thanks

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


jboss -- configuration services

2004-02-15 Thread thorsten maus
hi ...

how to i tell the ear plugin to integrate

jboss-service.xml
postgres-ds.xml
into its package ???



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


xdoclet -- ejbdoclet does not create interfaces ..

2004-02-14 Thread thorsten maus
hi there ..

im running into problems since a week and just wanted to know if anybody 
out there had the same problems as me and fixed them ...

i  installed maven ..
the xdoclet plugin ..
and added all dependencies ...
my maven.xml file looks like:
?xml version=1.0 encoding=ISO-8859-1?
project default=all
xmlns:m=jelly:maven
   preGoal name=java:compile
   attainGoal name=xdoclet:ejbdoclet/
   attainGoal name=xdoclet:hibernatedoclet/
   /preGoal
   goal name=all
   m:reactor basedir=${basedir}
  includes=*/project.xml
  goals=java:compile
  banner=Building
  ignoreFailures=false/
   /goal
/project
in each subproject ... the plugin would .. if it was working fine .. 
generate interfaces or a .hbm file for hibernate ..

the project.properties for my ejb-subproject looks like:
#ejbdoclet default properties
maven.xdoclet.ejbdoclet.destDir=${maven.build.dir}/xdoclet/ejbdoclet
maven.xdoclet.ejbdoclet.fileset.0=true
maven.xdoclet.ejbdoclet.fileset.0.include=**/*Bean.java
maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/xdoclet/ejb/META-INF
maven.xdoclet.ejbdoclet.entitybmp.0=true
maven.xdoclet.ejbdoclet.entitycmp.0=true
maven.xdoclet.ejbdoclet.entitypk.0=true
maven.xdoclet.ejbdoclet.homeinterface.0=true
maven.xdoclet.ejbdoclet.localhomeinterface.0=true
maven.xdoclet.ejbdoclet.localinterface.0=true
maven.xdoclet.ejbdoclet.remoteinterface.0=true
maven.xdoclet.ejbdoclet.session.0=true
maven.xdoclet.ejbdoclet.utilobject.0=true
maven.xdoclet.ejbdoclet.jboss.0=true
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/META-INF
maven.ejb.src=${maven.build.dir}/xdoclet/ejb
# EJB JAR NAME
maven.final.name=sample
although the compiler detects my classes ..
their syntax is ok ( xdoclet tags for session beans and hibernate tags )
the xdoclet plugin simply ignores it.
An excerpt of the SampleManagerBean looks like:
/**
* @ejb.bean name=SampleManager
*jndi-name=SampleManagerBean
*type=Stateless
* view-type=local
*
*--
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the tags below.
* @jonas.bean ejb-name=SampleManager
*jndi-name=SampleManagerBean
*
*--
**/
public class SampleManagerBean implements SessionBean,ComponentInt {
   static Logger LOG = Logger.getLogger(SampleManagerBean.class);
  
...
...

any idea ???

thanks in advance

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]