Here it is full details abt this problem.
I have a property which is using in all modules project.xml file which
recognizes source directory. I have specified this at top level
project.properties file.
if i have given the property of ${basesrc} in project.properteis this is the
out put.(i have given <extend> also in project.xml file.
+----------------------------------------
| Building admin
| Memory: 3M/4M
+----------------------------------------
property and tasks defined for webservicesbuild:start:
admin:
property and tasks defined for webservicesbuild:start:
compile:
java:prepare-filesystem:
[mkdir] Created dir: E:\mycvs\cfm\pcm\dev\dist\maven\target\classes
java:compile:
[echo] Compiling to E:/mycvs/cfm/pcm/dev/dist/maven/target/classes
[javac] Compiling 7 source files to E:\mycvs\cfm\pcm\dev\dist\maven\target\c
lasses
BUILD SUCCESSFUL
Total time: 17 seconds
Finished at: Tue Dec 07 11:14:08 GMT+05:30 2004
if i remove the propety form propertis file this is the out put.
+----------------------------------------
| Building admin
| Memory: 3M/4M
+----------------------------------------
property and tasks defined for webservicesbuild:start:
admin:
property and tasks defined for webservicesbuild:start:
compile:
java:prepare-filesystem:
java:compile:
[echo] Compiling to e:/mycvs/cfm/pcm/dev/dist/maven/target/classes
[echo] No java source files to compile.
BUILD SUCCESSFUL
Total time: 6 seconds
Finished at: Tue Dec 07 11:16:36 GMT+05:30 2004
Note: Here i am getting one doubt that i have change the property at top level
maven.build.dir. it is going to be inheriting but other properties are not
inherited why?
Brett Porter <[EMAIL PROTECTED]> wrote:
that should work. I will verify that it is fixed in 1.0.2 which is
being released today.
- Brett
On Mon, 6 Dec 2004 21:22:33 -0800 (PST), rajas kumar
wrote:
>
> i am using version 1.0.
> Yaa i am extending other project.xml files also.
>
>
>
> Brett Porter
wrote:
>
>
> what version of Maven are you using?
>
> When you say inherited, are you actually extending other project.xml files?
>
> - Brett
>
>
> On Mon, 6 Dec 2004 20:49:53 -0800 (PST), rajas kumar
> wrote:
> > Hai maven users,
> >
> > I am facing with a problem of properties in heritance. I have a servaral
> modules. I am compiling each module by using reactor.
> >
> > In project.xml i am using a property ${basesrc}.(i.e ${basesrc}/src) This
> property was specifid at top level.
> >
> > My problem is this property is not inherited into module level.Even though
> i used maven.properties.inheritance=true. In each module i need to specify
> this property then only recognizes the source files to compile.other wise
> its giveing no souce files to compile.
> >
> > Plz send solution if any body knows.
> >
> >
> > __________________________________________________
> > 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!?
> Yahoo! Mail - Helps protect you from nasty viruses.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.