Skip to content

maxsom/jython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8,203 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talend Jython fork

How to build & release Jython

Test before releasing !

In the project's root :

ant clean
ant test

Set release version

Edit maven/build.xml and set projet.version to your release version :

<property name="project.version" value="2.7.0.2-talend"/>

Build maven artifacts

In the project's root :

ant -f maven/build.xml clean
ant -f maven/build.xml

This will produce several maven artifacts in the dist folder.

Push Maven artifacts to Nexus

Deploy the jar locally so that you can test it before publishing it to a real repo. First start by updating the release-pom.xml pom file to use the release version

<version>2.7.0.2-talend</version>

Then install the jar locally, from the project's root (and after building the maven artifacts of course !) :

mvn install:install-file -Dfile=dist/jython-standalone.jar -DpomFile=release-pom.xml

Once testing is done with the local jar you can move forward and publish the jar to our internal repo. :

mvn deploy:deploy-file -DpomFile=release-pom.xml -Dfile=dist/jython-standalone.jar -Durl=https://artifacts-zl.talend.com/content/repositories/TalendOpenSourceRelease -DrepositoryId=TalendOpenSourceRelease

If for some reason the above command is stuck, you can login to https://artifacts-zl.talend.com and upload the artifact manually.

Debugging

If you encounter any internal error: Can't get property indirectDelegates using method get/isIndirectDelegates from org.antlr.tool.Grammar instance error during build please make sure to set failonerror="false" in build.xml in antlr_gen stage:

<target name="antlr_gen" depends="prepare-output" unless="antlr.notneeded">
    <java classname="org.antlr.Tool" failonerror="false" fork="true" dir="${jython.base.dir}">

About

A mirror of hg.python.org (use it for pull requests only and do not push directly)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 67.2%
  • Java 32.1%
  • GAP 0.3%
  • HTML 0.3%
  • PLSQL 0.1%
  • Shell 0.0%