Method 1: rename existing jar
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
You can also check if the file exists before rename
or you will get an error "The system cannot find the file specified." (Exit code 1)
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Method 2: keep result.jar but copy to Additional Libraries folder
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Method 3: build the jar without running
	
	
		
			
			
				
					
						
							
						
					
					www.b4x.com
				
			
		
	
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Note: dash or hyphen in the output filename resulted the filename back to result.jar
			
			
			
				B4X:
			
		
		
		#Macro: Title, Rename, ide://run?file=%COMSPEC%&Args=/c&Args=ren&Args=result.jar&Args=libget-non-ui.jar
	or you will get an error "The system cannot find the file specified." (Exit code 1)
			
				B4X:
			
		
		
		#Macro: Title, Rename, ide://run?file=%COMSPEC%&Args=/c&Args=IF+EXIST+result.jar&Args=ren&Args=result.jar&Args=libget-non-ui.jar
	Method 2: keep result.jar but copy to Additional Libraries folder
			
				B4X:
			
		
		
		#CustomBuildAction: 2, %COMSPEC%, /c copy result.jar %ADDITIONAL%\..\B4X\libget-non-ui.jar
	Method 3: build the jar without running
B4ABuilder / B4JBuilder - Command line compilation
B4A v4.30 includes a new tool named B4ABuilder.exe (and B4J includes a similar tool named B4JBuilder.exe).  This tool allows you to compile your projects from the command line. This can be useful if you need to build multiple projects or to build the same project with multiple configurations...
				
			
				B4X:
			
		
		
		#Macro: Title, Build only, ide://run?File=%B4X%\B4JBuilder.exe&Args=-Task%3DBuild&Args=-BaseFolder%3D..&Args=-Output%3Dlibget_non_ui
	
			
				Last edited: