migrate from tdk-2.3_01 to turbine-2.3.3

View: New views
5 Messages — Rating Filter:   Alert me  

migrate from tdk-2.3_01 to turbine-2.3.3

by sharad singh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

  I want to switch my application from tdk-2.3_01 to  turbine-2.3.3 .I was
using ant earliar with tdk-2.3_01 but now turbine-2.3.3
is on maven..any help regarding to this or any doc for it to easily migrate
from eraliar to new one.

thanks in advance

sharad

Re: migrate from tdk-2.3_01 to turbine-2.3.3

by Scott Eade :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think pretty much everyone who is actively using Turbine now uses
Maven 2 for their projects.

While we do have META, this is for producing Maven 1 project descriptors
only.  Someone recently expressed an interest in updating META to
produce Maven 2 descriptors, but I don't think any progress has been
made on this.

I think your best option will be to set up a Maven 2 pom, add Turbine as
a dependency along with anything else you need.  You will most likely
have to either restructure your project directories, or alter a bunch of
settings in your project descriptor in order to get things working.

Perhaps someone will be kind enough to post a stripped down M2 pom to
act as a starting point for you.

Scott

sharad singh wrote:

> Hello all,
>
>   I want to switch my application from tdk-2.3_01 to  turbine-2.3.3 .I was
> using ant earliar with tdk-2.3_01 but now turbine-2.3.3
> is on maven..any help regarding to this or any doc for it to easily migrate
> from eraliar to new one.
>
> thanks in advance
>
> sharad
>
>  

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


Re: migrate from tdk-2.3_01 to turbine-2.3.3

by sharad singh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks scott .but we are not going to compile turbine .we are only compiling
application.so just putting all the jar of turbine-2.3.3 and compile the
application it should work.

i am doing so but its not creating schema.

what ur opinion in this matter.

sharad

On 7/8/09, Scott Eade <seade@...> wrote:

>
> I think pretty much everyone who is actively using Turbine now uses Maven 2
> for their projects.
>
> While we do have META, this is for producing Maven 1 project descriptors
> only.  Someone recently expressed an interest in updating META to produce
> Maven 2 descriptors, but I don't think any progress has been made on this.
>
> I think your best option will be to set up a Maven 2 pom, add Turbine as a
> dependency along with anything else you need.  You will most likely have to
> either restructure your project directories, or alter a bunch of settings in
> your project descriptor in order to get things working.
>
> Perhaps someone will be kind enough to post a stripped down M2 pom to act
> as a starting point for you.
>
> Scott
>
> sharad singh wrote:
>
>> Hello all,
>>
>>  I want to switch my application from tdk-2.3_01 to  turbine-2.3.3 .I was
>> using ant earliar with tdk-2.3_01 but now turbine-2.3.3
>> is on maven..any help regarding to this or any doc for it to easily
>> migrate
>> from eraliar to new one.
>>
>> thanks in advance
>>
>> sharad
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>

Re: migrate from tdk-2.3_01 to turbine-2.3.3

by Scott Eade :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Your Torque version will no doubt have also changed so you may need to
review your Torque configuration.

The runtime configuration is also likely to have changed so you will
need to review your TurbineResources.properties.

Scott

sharad singh wrote:

> thanks scott .but we are not going to compile turbine .we are only compiling
> application.so just putting all the jar of turbine-2.3.3 and compile the
> application it should work.
>
> i am doing so but its not creating schema.
>
> what ur opinion in this matter.
>
> sharad
>
> On 7/8/09, Scott Eade <seade@...> wrote:
>  
>> I think pretty much everyone who is actively using Turbine now uses Maven 2
>> for their projects.
>>
>> While we do have META, this is for producing Maven 1 project descriptors
>> only.  Someone recently expressed an interest in updating META to produce
>> Maven 2 descriptors, but I don't think any progress has been made on this.
>>
>> I think your best option will be to set up a Maven 2 pom, add Turbine as a
>> dependency along with anything else you need.  You will most likely have to
>> either restructure your project directories, or alter a bunch of settings in
>> your project descriptor in order to get things working.
>>
>> Perhaps someone will be kind enough to post a stripped down M2 pom to act
>> as a starting point for you.
>>
>> Scott
>>
>> sharad singh wrote:
>>
>>    
>>> Hello all,
>>>
>>>  I want to switch my application from tdk-2.3_01 to  turbine-2.3.3 .I was
>>> using ant earliar with tdk-2.3_01 but now turbine-2.3.3
>>> is on maven..any help regarding to this or any doc for it to easily
>>> migrate
>>> from eraliar to new one.
>>>
>>> thanks in advance
>>>
>>> sharad
>>>
>>>
>>>
>>>      
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@...
>> For additional commands, e-mail: user-help@...
>>
>>
>>    
>
>  

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


Re: migrate from tdk-2.3_01 to turbine-2.3.3

by sharad singh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello

   I am using tdk-2.3._01 with ANT.now I want to shift on turbine-2.3.3 .I
have put all the jars of turbine-2.3.3 and did setting in build.properies
file as well build.xml.and try to again build it using ant.it shows
following error.

what seeting can be do more any help in this matter will be able to me
proceed forward.

Thanks


ant init
Buildfile: build.xml

check-webinf-exists:

setup-webinf:

init:

setup:

init-tasks:

create-database:

create-db-check:

create-db:
[torque-data-model] templates
[torque-data-model] Generating to file
/home/sharad/downloads/tdk-2.3_01/webapps/brihaspati2/WEB-INF/src/sql/create-db.sql
[torque-data-model] java.util.zip.ZipException: error in opening zip file
[torque-data-model]     at java.util.zip.ZipFile.open(Native Method)
[torque-data-model]     at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[torque-data-model]     at java.util.zip.ZipFile.<init>(ZipFile.java:235)
[torque-data-model]     at
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1028)
[torque-data-model]     at
org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:934)
[torque-data-model]     at
org.apache.log4j.helpers.Loader.getResource(Loader.java:110)
[torque-data-model]     at
org.apache.log4j.LogManager.<clinit>(LogManager.java:105)
[torque-data-model]     at
org.apache.log4j.Logger.getLogger(Logger.java:105)
[torque-data-model]     at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
[torque-data-model]     at
org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
[torque-data-model]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[torque-data-model]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[torque-data-model]     at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[torque-data-model]     at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
[torque-data-model]     at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
[torque-data-model]     at
org.apache.torque.engine.database.transform.XmlToAppData.<clinit>(XmlToAppData.java:63)
[torque-data-model]     at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:270)
[torque-data-model]     at
org.apache.torque.task.TorqueDataModelTask.execute(TorqueDataModelTask.java:504)
[torque-data-model]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[torque-data-model]     at
sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[torque-data-model]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[torque-data-model]     at java.lang.reflect.Method.invoke(Method.java:585)
[torque-data-model]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[torque-data-model]     at org.apache.tools.ant.Task.perform(Task.java:348)
[torque-data-model]     at
org.apache.tools.ant.Target.execute(Target.java:357)
[torque-data-model]     at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[torque-data-model]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[torque-data-model]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[torque-data-model]     at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[torque-data-model]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[torque-data-model]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[torque-data-model]     at java.lang.reflect.Method.invoke(Method.java:585)
[torque-data-model]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[torque-data-model]     at org.apache.tools.ant.Task.perform(Task.java:348)
[torque-data-model]     at
org.apache.tools.ant.Target.execute(Target.java:357)
[torque-data-model]     at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[torque-data-model]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[torque-data-model]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[torque-data-model]     at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[torque-data-model]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[torque-data-model]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[torque-data-model]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[torque-data-model]     at java.lang.reflect.Method.invoke(Method.java:585)
[torque-data-model]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[torque-data-model]     at org.apache.tools.ant.Task.perform(Task.java:348)
[torque-data-model]     at
org.apache.tools.ant.Target.execute(Target.java:357)
[torque-data-model]     at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[torque-data-model]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[torque-data-model]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[torque-data-model]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
[torque-data-model]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
[torque-data-model]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[torque-data-model]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[torque-data-model] java.util.zip.ZipException: error in opening zip file
[torque-data-model]     at java.util.zip.ZipFile.open(Native Method)
[torque-data-model]     at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[torque-data-model]     at java.util.zip.ZipFile.<init>(ZipFile.java:235)
[torque-data-model]     at
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1028)
[torque-data-model]     at
org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:934)
[torque-data-model]     at
org.apache.log4j.helpers.Loader.getResource(Loader.java:110)
[torque-data-model]     at
org.apache.log4j.LogManager.<clinit>(LogManager.java:107)
[torque-data-model]     at
org.apache.log4j.Logger.getLogger(Logger.java:105)
[torque-data-model]     at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
[torque-data-model]     at
org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
[torque-data-model]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[torque-data-model]     at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[torque-data-model]     at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[torque-data-model]     at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
[torque-data-model]     at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
[torque-data-model]     at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
[torque-data-model]     at
org.apache.torque.engine.database.transform.XmlToAppData.<clinit>(XmlToAppData.java:63)
[torque-data-model]     at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueDataModelTask.java:270)
[torque-data-model]     at
org.apache.torque.task.TorqueDataModelTask.execute(TorqueDataModelTask.java:504)
[torque-data-model]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[torque-data-model]     at
sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[torque-data-model]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[torque-data-model]     at java.lang.reflect.Method.invoke(Method.java:585)
[torque-data-model]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[torque-data-model]     at org.apache.tools.ant.Task.perform(Task.java:348)
[torque-data-model]     at
org.apache.tools.ant.Target.execute(Target.java:357)
[torque-data-model]     at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[torque-data-model]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[torque-data-model]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[torque-data-model]     at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[torque-data-model]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[torque-data-model]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[torque-data-model]     at java.lang.reflect.Method.invoke(Method.java:585)
[torque-data-model]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[torque-data-model]     at org.apache.tools.ant.Task.perform(Task.java:348)
[torque-data-model]     at
org.apache.tools.ant.Target.execute(Target.java:357)
[torque-data-model]     at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[torque-data-model]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[torque-data-model]     at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[torque-data-model]     at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[torque-data-model]     at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[torque-data-model]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[torque-data-model]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[torque-data-model]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[torque-data-model]     at java.lang.reflect.Method.invoke(Method.java:585)
[torque-data-model]     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[torque-data-model]     at org.apache.tools.ant.Task.perform(Task.java:348)
[torque-data-model]     at
org.apache.tools.ant.Target.execute(Target.java:357)
[torque-data-model]     at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[torque-data-model]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[torque-data-model]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[torque-data-model]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[torque-data-model]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
[torque-data-model]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
[torque-data-model]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[torque-data-model]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[torque-data-model] 2009-07-10 17:58:47,283 [main] INFO
org.apache.torque.engine.database.transform.XmlToAppData - Parsing file:
'brihaspati-schema.xml'
[torque-data-model] 2009-07-10 17:58:47,492 [main] INFO
org.apache.torque.engine.database.transform.XmlToAppData - Parsing file:
'id-table-schema.xml'
[torque-data-model] 2009-07-10 17:58:47,502 [main] INFO
org.apache.torque.engine.database.transform.XmlToAppData - Parsing file:
'turbine-schema.xml'

BUILD FAILED
/home/sharad/downloads/tdk-2.3_01/webapps/brihaspati2/WEB-INF/build/build.xml:164:
The following error occurred while executing this line:
/home/sharad/downloads/tdk-2.3_01/webapps/brihaspati2/WEB-INF/build/build.xml:208:
The following error occurred while executing this line:
/home/sharad/downloads/tdk-2.3_01/webapps/brihaspati2/WEB-INF/build/build-torque.xml:306:
Resource not found. For more information consult the velocity log, or invoke
ant with the -debug flag.


On 7/8/09, Scott Eade <seade@...> wrote:

>
> Your Torque version will no doubt have also changed so you may need to
> review your Torque configuration.
>
> The runtime configuration is also likely to have changed so you will need
> to review your TurbineResources.properties.
>
> Scott
>
> sharad singh wrote:
>
>> thanks scott .but we are not going to compile turbine .we are only
>> compiling
>> application.so just putting all the jar of turbine-2.3.3 and compile the
>> application it should work.
>>
>> i am doing so but its not creating schema.
>>
>> what ur opinion in this matter.
>>
>> sharad
>>
>> On 7/8/09, Scott Eade <seade@...> wrote:
>>
>>
>>> I think pretty much everyone who is actively using Turbine now uses Maven
>>> 2
>>> for their projects.
>>>
>>> While we do have META, this is for producing Maven 1 project descriptors
>>> only.  Someone recently expressed an interest in updating META to produce
>>> Maven 2 descriptors, but I don't think any progress has been made on
>>> this.
>>>
>>> I think your best option will be to set up a Maven 2 pom, add Turbine as
>>> a
>>> dependency along with anything else you need.  You will most likely have
>>> to
>>> either restructure your project directories, or alter a bunch of settings
>>> in
>>> your project descriptor in order to get things working.
>>>
>>> Perhaps someone will be kind enough to post a stripped down M2 pom to act
>>> as a starting point for you.
>>>
>>> Scott
>>>
>>> sharad singh wrote:
>>>
>>>
>>>
>>>> Hello all,
>>>>
>>>>  I want to switch my application from tdk-2.3_01 to  turbine-2.3.3 .I
>>>> was
>>>> using ant earliar with tdk-2.3_01 but now turbine-2.3.3
>>>> is on maven..any help regarding to this or any doc for it to easily
>>>> migrate
>>>> from eraliar to new one.
>>>>
>>>> thanks in advance
>>>>
>>>> sharad
>>>>
>>>>
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@...
>>> For additional commands, e-mail: user-help@...
>>>
>>>
>>>
>>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>
>