[jboss-user] [JBoss Tools (users)] - Re: Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1

2008-06-12 Thread Achillix
I tried the program 
http://download.jboss.org/jbosstools/extras/packaging-convert.zip
and it breaks. Output follows:

  | Script started on Thu Jun 12 12:10:21 2008
  | [EMAIL PROTECTED]:~/packaging-convert java -jar packaging-converter.jar 
../workspace/SMA/.packaging
  | Updating Project Builder to 
'org.jboss.ide.eclipse.archives.core.archivesBuilder'...
  | Adding 'org.jboss.ide.eclipse.archives.core.archivesNature' nature...
  | Backing up to .project.bak, and saving to .project in ../workspace/SMA...
  |  [copy] Copying 1 file to /usr/home/achill/workspace/SMA
  | Converting JBossIDE 1.x packages to JBossTools/RHDS archives...
  | Converting package 'SMA_SERVER_SIDE.jar'...
  | Converting package 'SMA_COMMON.jar'...
  | Converting package 'SMA_EJBs.jar'...
  | Exception in thread main 
org.codehaus.groovy.runtime.InvokerInvocationException: String index out of 
range: -1
  | at groovy.lang.MetaMethod.invoke(MetaMethod.java:126)
  | at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:664)
  | at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:111)
  | at 
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | at groovy.lang.GroovyShell.runMainOrTestOrRunnable(GroovyShell.java:319)
  | at groovy.lang.GroovyShell.run(GroovyShell.java:394)
  | at 
org.jboss.tools.archives.JBossIDEtoTools.main(JBossIDEtoTools.java:24)
  | Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
range: -1
  | at java.lang.String.substring(String.java:1768)
  | at gjdk.java.lang.String_GroovyReflector.invoke(Unknown Source)
  | at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
  | at 
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
  | at 
org.jboss.tools.archives.PackagingConverter.convertFile(PackaginConverter.groovy:129)
  | at 
gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown 
Source)
  | at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:525)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | at groovy.lang.MetaClass.invokeMethod(MetaClass.java:87)
  | at 
groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:73)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:541)
  | at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97)
  | at 
org.jboss.tools.archives.PackagingConverter$_convertPackaging_closure2_closure4.doCall(PackaginConverter.groovy:103)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:69)
  | at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | at groovy.lang.Closure.call(Closure.java:188)
  | at groovy.lang.Closure.call(Closure.java:201)
  | at 
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:657)
  | at gjdk.java.util.AbstractList$Itr_GroovyReflector.invoke(Unknown 
Source)
  | at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
  | at 
org.codehaus.groovy.runtime.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:109)
  | at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
  | at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
  | at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
  | at 
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
  | at 

[jboss-user] [JBoss Tools (users)] - Re: Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1

2008-04-14 Thread Achillix
Thanx!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4143917#4143917

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Expected release of JBossAS-5.0.0.GA?

2008-04-14 Thread Achillix
I'd like to take the opportunity (in order to save some noise with yet another 
verison/upgrade related post) to post smth related:

Upgrade advise: 4.0.5 vs 4.2.2 vs 5.0.0

Hi,
we are about to upgrade to a new fresh hardware and we are considering 
upgrading to latest and greatest
jboss, postgresql as well.
Currently we are on 3.0.3 (for various reasons, mainly lack of time).
At some point back in 2006, i had come up with a plan for migration to (then) 
4.0.4, and i had writen 
instructions how to deal with eclipse, packaging, EJB configuration, and the 
test succeeded.
However we were unable to upgrade due to lack of testing time, and lack of a 
paralel test system.
Now we have the hw, + i have to do the upgrade.
So the questions are
a) which version should i turn to?
b) What are the changes between 4.0.4-4.2.2-5.0.0
I know its been 2 years under development, but what are the caveats someone 
should be aware of?

Thank you for any directions.
-- 
Achilleas Mantzios

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4143919#4143919

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1

2007-11-30 Thread Achillix
Max thanx a lot for your response and for the JIRA entry as well!
here is my .packaging

  | ?xml version=1.0 encoding=UTF-8?
  | configurations
  | archive destination= exploded=false name=SMA_SERVER_SIDE.jar 
used=true
  | folder excludes= 
includes=com/gatewaynet/misc/*.class,com/gatewaynet/web/util/TMSA_Utils.class,com/gatewaynet/web/util/GPSException.class,com/gatewaynet/web/util/GPSUtils.class,com/gatewaynet/web/util/CrewUtils.class
 location=bin name=bin prefix= project= projectLocation=bin 
used=true/
  | /archive
  | archive destination= exploded=false name=SMA_COMMON.jar used=true
  | folder excludes= includes=com/gatewaynet/graphs/*.class location=bin 
name=bin prefix= project= projectLocation=bin used=true/
  | file location=/usr/local/misc/packages/jcommon-0.6.4.jar 
name=jcommon-0.6.4.jar prefix= used=true/
  | file location=/usr/local/misc/packages/jfreechart-0.9.2.jar 
name=jfreechart-0.9.2.jar prefix= used=true/
  | file 
location=/usr/local/misc/packages/jfreechart-1.0.5/lib/jfreechart-1.0.5.jar 
name=jfreechart-1.0.5.jar prefix= used=true/
  | file 
location=/usr/local/misc/packages/jfreechart-1.0.5/lib/jcommon-1.0.9.jar 
name=jcommon-1.0.9.jar prefix= used=true/
  | /archive
  | archive destination= exploded=false name=SMA_EJBs.jar used=true
  | folder excludes= 
includes=com/gatewaynet/ejbs/*.class,com/gatewaynet/ifs/*.class 
location=bin name=bin prefix= project= projectLocation=bin 
used=true/
  | file location=src/META-INF/ejb-jar.xml name=ejb-jar.xml 
prefix=META-INF project= projectLocation=src/META-INF/ejb-jar.xml 
used=true/
  | file location=src/META-INF/jboss.xml name=jboss.xml prefix=META-INF 
project= projectLocation=src/META-INF/jboss.xml used=true/
  | file location=SMA_SERVER_SIDE.jar name=SMA_SERVER_SIDE.jar prefix= 
project= projectLocation=SMA_SERVER_SIDE.jar used=true/
  | file location=SMA_COMMON.jar name=SMA_COMMON.jar prefix= project= 
projectLocation=SMA_COMMON.jar used=true/
  | /archive
  | archive destination= exploded=false name=SMA_EJBs-Client.jar 
used=true
  | folder excludes= includes=com/gatewaynet/ifs/*.class location=bin 
name=bin prefix= project= projectLocation=bin used=true/
  | /archive
  | archive destination= exploded=false name=SMA_APPLETS.jar 
used=false
  | folder excludes= includes=com/gatewaynet/web/applets/* location=bin 
name=bin prefix= project= projectLocation=bin used=true/
  | /archive
  | archive destination= exploded=false name=SMA_WEB.war used=true
  | folder excludes= 
includes=com/gatewaynet/web/*.class,com/gatewaynet/web/util/*.class,com/gatewaynet/pdf/*.class,com/gatewaynet/web/util/xml/*.class
 location=bin name=bin prefix=WEB-INF/classes project= 
projectLocation=bin used=true/
  | file location=src/WEB-INF/jboss-web.xml name=jboss-web.xml 
prefix=WEB-INF project= projectLocation=src/WEB-INF/jboss-web.xml 
used=true/
  | file location=src/WEB-INF/web.xml name=web.xml prefix=WEB-INF 
project= projectLocation=src/WEB-INF/web.xml used=true/
  | file location=SMA_EJBs-Client.jar name=SMA_EJBs-Client.jar 
prefix=WEB-INF/lib project= projectLocation=SMA_EJBs-Client.jar 
used=true/
  | folder excludes= includes= location=docroot name=docroot prefix= 
project= projectLocation=docroot used=true/
  | folder excludes= includes= location=src/WEB-CONF/taglibs 
name=taglibs prefix=WEB-INF project= 
projectLocation=src/WEB-CONF/taglibs used=true/
  | folder excludes= includes= location=src/WEB-CONF/taglibs-jars 
name=taglibs-jars prefix=WEB-INF/lib project= 
projectLocation=src/WEB-CONF/taglibs-jars used=true/
  | file location=SMA_COMMON.jar name=SMA_COMMON.jar prefix=WEB-INF/lib 
project= projectLocation=SMA_COMMON.jar used=true/
  | file location=/usr/local/misc/packages/itext-1.3.jar 
name=itext-1.3.jar prefix=WEB-INF/lib used=true/
  | file location=/usr/local/misc/packages/jep212.jar name=jep212.jar 
prefix=WEB-INF/lib used=true/
  | file 
location=/usr/local/misc/packages/jakarta-poi-1.8.0-dev-20020919.jar 
name=jakarta-poi-1.8.0-dev-20020919.jar prefix=WEB-INF/lib used=true/
  | file location=SMA_APPLETS.jar name=SMA_APPLETS.jar prefix= 
project= projectLocation=SMA_APPLETS.jar used=true/
  | file 
location=/usr/local/misc/packages/commons-codec-1.3/commons-codec-1.3.jar 
name=commons-codec-1.3.jar prefix= used=true/
  | file 
location=/usr/local/misc/packages/commons-fileupload-1.1.1/commons-fileupload-1.1.1.jar
 name=commons-fileupload-1.1.1.jar prefix=WEB-INF/lib used=true/
  | file 
location=/usr/local/misc/packages/commons-logging-1.0.4/commons-logging.jar 
name=commons-logging.jar prefix= used=true/
  | file location=commons-httpclient-2.0.2.jar 
name=commons-httpclient-2.0.2.jar prefix= project= 
projectLocation=commons-httpclient-2.0.2.jar used=true/
  | file 
location=/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/dist/ajaxtags-1.2-beta2.jar
 name=ajaxtags-1.2-beta2.jar prefix=WEB-INF/lib used=true/
  | file 
location=/usr/local/misc/packages/AjaxTAGS/ajaxtags-1.2-beta2/lib/jstl-1.0.6.jar
 name=jstl-1.0.6.jar 

[jboss-user] [JBoss Tools (users)] - Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1 Pack

2007-11-29 Thread Achillix
Hi,
i am a long time user of Eclipse 3.2.1/JbossIDE1.6.0
I have setup some really complex packaging configurations.

Now i realize the new way is through Project Archives.

Is there a way or a guideline to migrate from the packaging configuration to 
the new project Archives feature?

I can always run the old packaging-build.xml thru ant, but i am sure there is 
something better than that!

I am recovering from a 2 days FreeBSD update marathon, so forgive me if i am 
missing something obvious.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108883#4108883

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108883
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user