> I'd like to get up to speed a bit > with Ant though, unless that seems to folks here like a really bad idea for > some reason.
Don't do it for just java. If you want to deploy applications with Ant, deploy your entire application with it. If you want to edit your application in-place, then just use your Java IDE to plop the class files in the right location. > Given that java files and class files can be in different locations and be > seen by cf, how do people set up their project directories when java's > involved? CF doesn't care about .javas. To CF, they're just another file on the file system. It only cares about .class files. I usually have a java directory in my app root that houses all my java files. They get compiled into a app-specific classes directory outside the app root that is configured in the CF admin to be on the classpath. I don't drop them in /WEB-INF/classes because I develop on Enterprise and deploy to Standard, so things are different. This way I just deploy my app (including the .class files) the same on both server types. > I wouldn't think that putting them in > WEB-INF/classes would be good from that perspective, since they're not > associated with their owning app. If you're doing a lot of Java, chances are good that you're running each CF app in it's own instance, so the /WEB-INF/classes directory is tied to the app. However, even if that's not the case, proper package naming will avoid collisions between different apps on the same CF instance. Just have to make your deploy scripts copy up all the files, and then move the appropriate files from the in-app classes directory to the /WEB-INF/classes directory. cheers, barneyb -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
