Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When I publish a Standalone Job snapshot to the Artifact Repository, and schedule it on the TAC, how do I get the generated Java source code? A job is failing, giving a Null Pointer Exception at a particular line number, but I need to get at the actual .java file in order to see what that line number is doing so I can figure out what variable or expression is null.
Hello @PhilHibbs ,
The content of folder and zip file shown here is from your jobs folder on your Studio machine. When you publish your jobs and select to export the jave source as shown, it creates a zip on your Studio machine in the job folder (configured in the settings of your Studio), and in there in the zip file, you have the folder with the name of the job (tjava in the screenshot example) and in there the src folder which stands for source.
If you cannot access the machine with the Studio that exported this job, then you can find it in the Job server on Unix , in the 'archiveJobs' directory of the jobserver directory.
On my jobserver setup, I have this for example:
/opt/talend/jobserver/TalendJobServersFiles/archiveJobs/ and in there a bunch of zip files for archived jobs.
Maybe that depends on if you export the source code in the job file.
Yes I spotted that, I have republished the job with sources. I still have no idea where to look to find the sources though!
src folder here
Where would that be on a Unix installation?
Hello @PhilHibbs ,
The content of folder and zip file shown here is from your jobs folder on your Studio machine. When you publish your jobs and select to export the jave source as shown, it creates a zip on your Studio machine in the job folder (configured in the settings of your Studio), and in there in the zip file, you have the folder with the name of the job (tjava in the screenshot example) and in there the src folder which stands for source.
If you cannot access the machine with the Studio that exported this job, then you can find it in the Job server on Unix , in the 'archiveJobs' directory of the jobserver directory.
On my jobserver setup, I have this for example:
/opt/talend/jobserver/TalendJobServersFiles/archiveJobs/ and in there a bunch of zip files for archived jobs.
Found it - the path was actually /opt/talend/jobserver/agent/TalendJobServersFiles/archiveJobs/
Thanks very much!