You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by qMax <qm...@mediasoft.ru> on 2005/05/27 11:47:32 UTC

PublishTree/DeactivateTree

I've found 3 implementations of these tasks in uni zurich publications
and templates.
But they seem hardly depend on other java code.

Is there other separate implementations of these tasks ?
Or how to use them in default publication to do not break anything
else occasionaly ?

Sorry for bothering over trifles,
im still slightly confused with all this ant stuff, how to compile
and set it up.

-- 
 qMax


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re[2]: PublishTree/DeactivateTree

Posted by qMax <qm...@mediasoft.ru>.
Friday, May 27, 2005, 11:19:48 PM, Gregor J. Rothfuss wrote:

GJR> qMax wrote:
>> I've found 3 implementations of these tasks in uni zurich publications
>> and templates.
>> But they seem hardly depend on other java code.

GJR> indeed, and that is a problem. they do not make use of the API at all.
So i have to implement them by myself...
I hope i can produce some quick'n'dirty implementation extending
existant Publish task from default pub.

>> Is there other separate implementations of these tasks ?
>> Or how to use them in default publication to do not break anything
>> else occasionaly ?
GJR> in 1.2, you will just have to define them in your targets.xml and try it
GJR> out. in 1.4, they have been replaced by proper java classes, which are
GJR> much easier to understand. so if you can, take a look at 1.4
IIRC, targets are used only in general o.a.l.cms.task.AntTask only,
but not in other Tasks.
So if i implement new PublicationTask i should declare it in tasks.xconf.
Or i get something wrong ?

I'm not a hacker, but rather user, anf I'd prefer not to move to 1.4
untill the release.

-- 
 qMax


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: PublishTree/DeactivateTree

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
qMax wrote:
> I've found 3 implementations of these tasks in uni zurich publications
> and templates.
> But they seem hardly depend on other java code.

indeed, and that is a problem. they do not make use of the API at all.

> Is there other separate implementations of these tasks ?
> Or how to use them in default publication to do not break anything
> else occasionaly ?

in 1.2, you will just have to define them in your targets.xml and try it 
out. in 1.4, they have been replaced by proper java classes, which are 
much easier to understand. so if you can, take a look at 1.4

> Sorry for bothering over trifles,
> im still slightly confused with all this ant stuff, how to compile
> and set it up.

understood, no problem

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org